T
Todd Burch
I'm working a lot with Excel lately in Win XP Pro. It seems EXCEL.EXE
continues to run after my script is finished.
I have:
xlapp = WIN32OLE.new('excel.application')
....
xlapp.activeworkbook.close ;
xlapp.quit() ;
I was expecting the .quit() method to end the EXCEL.EXE process.
However, Task Manger tells me it is still running. Matter of fact,
after running the script 10 times, there are 10 instances of EXCEL.EXE
running.
My logic is simple enough that I know I am issuing the .quit(). I've
tried the .ole_free method as well, and no joy, even though it returns
"true". I've also tried:
xlapp.sendkeys("%fx") ; # works, but EXCEL.EXE is still running
Ideas?
Thanks, Todd
continues to run after my script is finished.
I have:
xlapp = WIN32OLE.new('excel.application')
....
xlapp.activeworkbook.close ;
xlapp.quit() ;
I was expecting the .quit() method to end the EXCEL.EXE process.
However, Task Manger tells me it is still running. Matter of fact,
after running the script 10 times, there are 10 instances of EXCEL.EXE
running.
My logic is simple enough that I know I am issuing the .quit(). I've
tried the .ole_free method as well, and no joy, even though it returns
"true". I've also tried:
xlapp.sendkeys("%fx") ; # works, but EXCEL.EXE is still running
Ideas?
Thanks, Todd