[python-win32] exception while opening excel file
iceblink at chello.nl
iceblink at chello.nl
Thu Apr 10 13:30:07 CEST 2008
Hi all,
I'm trying to write a file that does something with excel files. Unfortunately all these files will give an error upon opening:
Errors were detected in 'file.xls', but MS Excel was able to open the file by
making the repairs listed below. Save the file to make these repairs permanent.
Renamed invalid sheet name.
I've tried to get some more information through the py-win32 exceptions but only got this output out of my application:
The Excel call failed with code -2147352567: Exception occurred.
The source of the error is Microsoft Excel
The error message is Open method of Workbooks class failed
More info can be found in C:\Program Files\Microsoft
Office\Office10\1033\xlmain10.chm (id=0)
Normally I can just press "close" in the excel error box, and continue to work on the file. But how do I handle this in py-win32?
Best regards,
Patrick Asselman
More information about the python-win32
mailing list