08-19-2005 08:29 AM
08-19-2005 08:53 AM
08-19-2005 08:54 AM
10-18-2006 04:46 AM
10-18-2006 08:58 AM
10-19-2006 08:54 AM
09-04-2014 11:40 AM
Hello Paul
I have checked the example you uploaded, and I have a queestion:
Have you checked the task manager when the code for exit the application (quit invoke node)?
I have a code that Open a excel worksheet, read a value, and close it. I close all the references opened, and execute the quit invoke node for the application. But when it finishes its executions, excel.exe process is still opened in task manager of windows (but not in the task bar).
What I'm missing? How can I close excel process completely?
Thanks in advance.
Best regards
09-04-2014 12:28 PM
@javier.reyes wrote:
What I'm missing? How can I close excel process completely?
I suspect your problem is the Excel._Worksheet that you are passing to Variant to Data.
09-04-2014 12:39 PM
not quite what you guys are asking for, but if you have the Office report generation toolkit add-on, you might find some useful NI created VI's to do various Excel tasks using activeX. If you open up "NI_Excel.lvclass:new report subVI.vi" for example, you can see some ways to open Excel, get/set window states etc.