LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

append data to an excel table

I want to append new numerical data to an existing excel table.
0 Kudos
Message 1 of 3
(2,952 Views)
See the Write Table to XL.vi example that ships with LabView. The Excel Macro example calls Open Specific Workbook.vi which lets you open an existing file. To find the examples, from any LabView window, goto Help >> Find Examples >> Search, then enter Excel in the box labeled Type a keyword to find.
0 Kudos
Message 2 of 3
(2,952 Views)
If you are using ActiveX to write to an open Excel document, you can ask Excel how many rows are currently in the document.

From the reference for WorkSheet, wire a property node and select UsedRange. Cascade that into another property node and select Rows. Cascade that into another property node and select Count.

This will return the number of rows that have been written. Just add 1 and use that number for your starting address.

Michael
ABCDEF
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 3 of 3
(2,952 Views)