LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Working with Excel in LabWindows/CVI

Hello, could you pleawse help me with this ? :
I want to read from an existing Excel document using the Excel instrument ( Excel200.fp ).
I want to read lines and cells within each line, and also get the index of each line.
Who can provide me some documentation, because LabWindows/CVI has none for some
Excel handling functions.
Thank you.
0 Kudos
Message 1 of 4
(4,233 Views)
Hi Snoopy,

You should be able to right-click on any of the functions in the library tree and select 'Function Help' to open the help documentation.  If this does not work you can open the VBAXL##.chm directly which is located in the C:\Program Files\Microsoft Office\OFFICE##\1033 folder. NOTE: '##' will be specific to the version of Excel you have installed on your system.  I also suggest taking a look at the 'excel2000demo' shipping example (use keyword 'excel' in the NI Example Finder) which demonstrates how to open, read, and write to an Excel file.

Have a great day,

Ecleamus Ricks, Jr.
National Instruments
Applications Engineer
Message 2 of 4
(4,193 Views)
Hi
Thanks for the info, the problem is that I don't have the .chm help file you said to open on my Microsoft Office installation folder
Anothere thing is that the functions in the Excel 2000 demo are not documented if clicking "function help" and my program will
have to fulfill also othere tasks than in the demo.
Do you have any idee where Icould find the help file?
Thanks
0 Kudos
Message 3 of 4
(4,156 Views)

Make sure you have installed the VB help that comes with Office. This KB refers to Office 2k, but it is valid for newer versions of office as well



Bilal Durrani
NI
0 Kudos
Message 4 of 4
(4,139 Views)