LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to export tables to an existing Excel file, how is that done?

The example vi exports a table to a new Excel file that is opened using some programmatic approach that I am not familiar with.  Familiar or not, it opens a new excel spreadsheet, and I need to open an existing spreadsheet.  I need to be able to export more than one table, but I think that I can figure out the placement of the tables within the spreadsheet.  Bottom line, how do I open an existing Excel file to export tables to?  Is there any (intuitive) information on how to do this?
 
Thanks,
JRyan
0 Kudos
Message 1 of 3
(2,417 Views)
Hello,

If you start from the example and just replace the vi "open workbook" (that creates a new file) by the vi "open specfic workbook" (that opens the pointed file).
You will find this vi in :

    C:\Program Files\National Instruments\LabVIEW 7.1\examples\comm\ExcelExamples.llb\Open Specific WorkBook.vi

Then wire a file path transformed into string and there you are.

Hope this helps 😉


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 3
(2,411 Views)
Hello,

The examples help out a lot.  I assume you are referring to ActiveX as the unfamiliar.  Check out: http://zone.ni.com/devzone/devzoneweb.nsf/Opendoc?openagent&1744411D9B6C5820862567C2006DC236 for some good documentation on ActiveX.

Best of luck!


Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 3 of 3
(2,398 Views)