Re: [python-win32] Error Quitting Excel Instance when One is Already Open

2011-05-24 Thread Mark Hammond
Sadly this is all under the control of Excel, so I've no good advice. The poor advice I can offer is (1) for your own piece of mind, see if you can get the same basic behaviour with wscript and a .vbs script, (2) to try and see if you can find a similar problem in any language/environment (eg,

[python-win32] Error Quitting Excel Instance when One is Already Open

2011-05-24 Thread Mark Mordeca
Greetings, I am having a problem with using win32com to open an instance of Excel when there is already one open. I would appreciate any help. My example goes as follows: The user has an Excel file (and therefore an EXCEL.exe process) open already. I do: xl=win32com.client.DispatchEx("