LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to interactively select a worksheet from an Excel workbook in Labview?

All of the examples that I can find only allow you to select a sheet by knowing it's index number or the exact name of the sheet.  I haven't been able to query or otherwise find out what sheets are in the workbook to allow the operator select one.
0 Kudos
Message 1 of 6
(3,337 Views)

Hi flow,

see this link please and change the "new ..." vi with the "open ..." vi which you will find two posts below them.
http://forums.ni.com/ni/board/message?board.id=BreakPoint&view=by_date_ascending&message.id=5589#M55...

Mike

Message 2 of 6
(3,335 Views)
Thanks!  The bit of information that I needed was to iterate the sheets and get their names.  I have successfully integrated this into my program and am now able to select a particular sheet from an Excel file.  With any luck, I won't need any more help to finish this project.
0 Kudos
Message 3 of 6
(3,324 Views)

Hi Mike,

 

Can you please post the latest available link to the one you had mentioned?

 

When I tried to open it, it said that it had been deleted. Smiley Surprised

- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 6
(3,231 Views)

Partha,

 

I tried tracking down the exact thread that Mike was linking, to no avail, but maybe this would help you out just as much:

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=332297&requireLogin=False

 

Rob K

Message Edited by Rob_K on 09-15-2008 01:43 PM
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
Message 5 of 6
(3,195 Views)
Thanks, Rob.
- Partha ( CLD until Oct 2027 🙂 )
Message 6 of 6
(3,184 Views)