LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating a table in Excel using ActiveX functions

Hi,
I am new to labview and have have a project where i need to create tables in labview using activeX, i cannot seem to get the Invoke node Table (under range) to work, any help would be much appreciated.

0 Kudos
Message 1 of 2
(2,475 Views)

This question is not related to LV at all. So in general, this question is more for MSDN (Microsoft Developer Network).

 

That being said, here the steps you have to implement in LV:

  1. Open Automation Server Excel._Application
  2. Set property Visible to true (otherwise, you won't see the result unless you save the workbook)
  3. Create a Workbool
  4. In the Workbook, create a Worksheet (that's what you call a "table")

 

That's it.

 

Norbert

 

PS: Due to "reference lifetime", you want to keep the VI running (e.g. event based waiting for a button press) otherwise Excel will shutdown as soon as you release the reference to Excel._Application.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,467 Views)