Re: [python-win32] win32com client Workbooks.Open throws exeption

2010-08-18 Thread John Machin
On 19/08/2010 4:00 AM, Tim Roberts wrote: @©ħα® wrote: Workbooks.Open fails randomly throws an exception ... calling logToXLS() occasionally throws the mentioned error at xl.Workbooks.Open(filePath) File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 496, in __geta

Re: [python-win32] win32com client Workbooks.Open throws exeption

2010-08-18 Thread Tim Roberts
@©ħα® wrote: > Workbooks.Open fails randomly throws an exception > ... > calling logToXLS() occasionally throws the mentioned error at > > xl.Workbooks.Open(filePath) > > File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", > > line 496, in > __getattr__ >raise Attribu

[python-win32] win32com client Workbooks.Open throws exeption

2010-08-13 Thread
Workbooks.Open fails randomly throws an exception Code: def logToXLS(fileNameXLS,worksheetNum,row,col,data): import win32com.client fileName=fileNameXLS # Xls File name to be updated path=os.getcwd() filePath=os.path.join(os.getcwd(),fileName