[python-win32] Excel corrupted display problem

Bob Gailer bgailer at alum.rpi.edu
Fri Aug 18 01:36:30 CEST 2006


kc106_2005-pywin32 at yahoo.com wrote:
> Hi list,
>
> I have a Python script that pops up Excel, fill it,
> and then continue.  If the user clicks on my Python
> side to  close Excel (via a call to the Quit()
> function), then I can reopen it later via another
> dispatch call and so forth.
>
> However, if the user close Excel from the Excel side,
> next time Python side starts Excel again, the Excel
> display area (the area where the spreadsheet cells
> goes) is screwed up.  The rest of things works fine
> (like the menu bar and so forth) - but the spreadsheet
> display area is useless.
> Is there any cure to this?
>   
I have dealt with this a lot. The "cure" is somewhere in Redmond, but 
probably too low a priority for Microsoft. Sigh. The only workaround I 
know is to kill the excel process.

-- 
Bob Gailer
510-978-4454



More information about the Python-win32 mailing list