Need help with retrieving Excel WorkSheet List

This is a discussion on Need help with retrieving Excel WorkSheet List within the labview forums in Programming Languages category; Ok, that works like a champ now, thanks...   So how come in the activeX example I pieced/copied together does no actually open excel?  Or is it and it is just not showing on the screen?   Thanks Tim C....

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 07-08-2008, 02:40 PM
Tim C.
Guest
 
Default Re: Need help with retrieving Excel WorkSheet List

Ok, that works like a champ now, thanks...
 
So how come in the activeX example I pieced/copied together does no actually open excel?  Or is it and it is just not showing on the screen?
 
Thanks
Tim C.
Reply With Quote
  #12  
Old 07-08-2008, 03:10 PM
smercurio_fc
Guest
 
Default Re: Need help with retrieving Excel WorkSheet List

You're confusing opening a reference with actually opening the window. Opening a reference creates the object in memory. The example that you copied it from probably called the property to make the application window visible, and set this value to False. Mike has already pointed this out.
Reply With Quote
  #13  
Old 07-08-2008, 04:10 PM
Tim C.
Guest
 
Default Re: Need help with retrieving Excel WorkSheet List

Can you clarify what the source control is suppose to provide is Mike's read file example?
 
Thanks
Tim C.
Reply With Quote
  #14  
Old 07-08-2008, 04:10 PM
smercurio_fc
Guest
 
Default Re: Need help with retrieving Excel WorkSheet List

The "source" is the TSQL command. In this case "SELECT * FROM demo" means return all rows from the table (sheet) called "demo". Unfortunately, Mike called the workbook file and the sheet name the same, so that's a little confusing. Message Edited by smercurio_fc on 07-08-2008 03:08 PM
Reply With Quote
  #15  
Old 07-09-2008, 12:10 PM
Tim C.
Guest
 
Default Re: Need help with retrieving Excel WorkSheet List

Added an example that uses ActiveX or ADO so folks can have access to them .....


Read Native Excel Worksheet.zip:
http://forums.ni.com/attachments/ni/170/339148/1/Read Native Excel Worksheet.zip
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 07:45 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.