Re: [python-win32] Excel Workbooks Exception

2014-01-31 Thread Mark Mordeca
es+mark.mordeca=prosensus...@python.org] On Behalf Of Tim Golden Sent: January-31-14 10:48 AM To: python-win32@python.org Subject: Re: [python-win32] Excel Workbooks Exception On 31/01/2014 15:08, Mark Mordeca wrote: > I sometimes get a random exception when trying to open an Excel file. > It

Re: [python-win32] Excel Workbooks Exception

2014-01-31 Thread Tim Golden
On 31/01/2014 15:08, Mark Mordeca wrote: > I sometimes get a random exception when trying to open an Excel file. > It is not consistent. I will get the exception, and then try it > again and it will work fine. > xl=win32com.client.DispatchEx("Excel.Application") > > book=xl.Workbooks.Open(self.

[python-win32] Excel Workbooks Exception

2014-01-31 Thread Mark Mordeca
Hello, I sometimes get a random exception when trying to open an Excel file. It is not consistent. I will get the exception, and then try it again and it will work fine. Simple two lines of code: xl=win32com.client.DispatchEx("Excel.Application") book=xl.Workbooks.Open(self.__filename,