Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 2 > Newsgroup comp.lang.labview

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2008, 02:40 PM
Veeru
Guest
 
Posts: n/a
Default Open work book

Hi
 
I just started learning Activex-Excel. So i tried to run few example programs but for all the programs i am getting error message"Error 97" or "error 1"
 
What it means
 
Thanks
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 07-30-2008, 02:40 PM
Dennis Knutson
Guest
 
Posts: n/a
Default Re: Open work book

Could you at least provide the name of the one of the examples that you are getting the error from?
Reply With Quote
  #3 (permalink)  
Old 07-30-2008, 02:40 PM
corys
Guest
 
Posts: n/a
Default Re: Open work book

If you could let us know which examples you've had this trouble with, it could be very helpful. If I recall correctly, I ran into 'Error 97' previously looking over some examples. Recompiling the VI fixed the problem. Perhaps you could give this a try?
Reply With Quote
  #4 (permalink)  
Old 07-30-2008, 03:10 PM
Veeru
Guest
 
Posts: n/a
Default Re: Open work book

Thanks Dennis and corys
Attached the example programs


Open Book.vi:
http://forums.ni.com/attachments/ni/170/345147/1/Open Book.vi


Open Work Sheet.vi:
http://forums.ni.com/attachments/ni/170/345147/2/Open Work Sheet.vi
Reply With Quote
  #5 (permalink)  
Old 07-30-2008, 03:10 PM
Dennis Knutson
Guest
 
Posts: n/a
Default Re: Open work book

You don't have to post code that ships with LabVIEW. The names would have been enough.
You cannot run these VIs by themselves. Open the top level example called Write Table to Excel. The function called Open Excel and Make Visible has to be run first to start Excel and get a reference to it.
Reply With Quote
  #6 (permalink)  
Old 07-30-2008, 03:10 PM
corys
Guest
 
Posts: n/a
Default Re: Open work book

<img src="http://forums.ni.com/attachments/ni/170/345152/1/Open%20Workbook.PNG"> Specifically, the code will return an error because a reference is passed to the property node which does not actually direct LabView to an open instance of Excel. An 'Automation Open' is needed.Message Edited by corys on 07-30-2008 10:06 AM


Open Workbook.PNG:
http://forums.ni.com/attachments/ni/170/345152/1/Open Workbook.PNG
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: obs= dsoption does not work with open() function Nat Wooding Newsgroup comp.soft-sys.sas 0 11-02-2007 10:26 AM
obs= dsoption does not work with open() function Chang Chung Newsgroup comp.soft-sys.sas 0 11-01-2007 08:55 PM
Re: Availability List of DWP Michael Raithel Newsgroup comp.soft-sys.sas 0 07-31-2007 06:49 PM
Availability List of DWP Priya Newsgroup comp.soft-sys.sas 0 07-31-2007 06:38 PM
Re: multicollinearity in proc logistic Bora Yavuz Newsgroup comp.soft-sys.sas 0 11-21-2006 02:02 PM



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


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.