View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Metaphis Metaphis is offline
external usenet poster
 
Posts: 2
Default Excel process stays in memory after Using Quit Function

Ok, I'm not sure if its the right place to post that but I use VBScript
to Launch excel.. Start some functions that are in Excel spreadsheet
that use a DCOM object and Scripting.FileSystemObject. All the
references created in the macros are set to Nothing before terminating.
But when I do oXls.Quit Nothing happen. No error, Excel.exe just stay
open endlessly. Now the only way I've found I could really stop excel
would be to find excel in the process list and terminate it... Not
really elegant if you ask me. If anyone know how to force excel to quit
or to know why it didn't quit so I can debug it I would appreciate.

Thanks in Advance