@©ħα® 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 AttributeError,
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
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()