LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the End of File (EOF) in Labview

Isn't there a function inside excel that can give you the last used row or the first empty row?? Could you put this value in your first row of excel data and use this value to control how many times labview loops.
0 Kudos
Message 11 of 15
(1,712 Views)
Maybe you could write a custom EOF vi that uses the Read Excel vi inside a loop until the output is blank.  Then the offset would be the EOF marker.
- tbob

Inventor of the WORM Global
0 Kudos
Message 12 of 15
(1,699 Views)
If you are using activex property nodes, try activesheet, then usedrange, then address.
Message 13 of 15
(1,694 Views)
or activesheet, usedrange, rows, count to get the actual number of rows used.
Message 14 of 15
(1,689 Views)

Unclebump:

Thanks, it worked !

0 Kudos
Message 15 of 15
(1,679 Views)