ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Excel macro causes a crash when called from Labview

Hello,

I am using Labview 6.0.2 to call a macro in an Excel 2002 file. I use the Invoke Node functionality in Labview.

The macro runs fine when I call it from Excel. However when I call it from Labview, Excel sometimes hangs and sometime gives an error saying the macro could not be found ...

I am unable to debug this issue. Has anybody encountered something similar before? I am at my wits end, and I have this feeling it is something trivial.

Thanks!
0 Kudos
Message 1 of 2
(2,608 Views)
Because the macro sometimes works, it sound like a timing issue. Try experimenting with waits in your LV code. Waiting a second before you call the macro might do the trick.

Jeremy Braden
National Instruments
Message 2 of 2
(2,608 Views)