LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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
0 Kudos
Message 1 of 6
(3,053 Views)
Could you at least provide the name of the one of the examples that you are getting the error from?
0 Kudos
Message 2 of 6
(3,050 Views)
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?
-Cory
0 Kudos
Message 3 of 6
(3,045 Views)

Thanks Dennis and corys

Attached the example programs

Download All
0 Kudos
Message 4 of 6
(3,039 Views)

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.

0 Kudos
Message 5 of 6
(3,031 Views)
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
-Cory
0 Kudos
Message 6 of 6
(3,026 Views)