[python-win32] Help needed on Dispatch
Rohit.Nirantar at wellsfargo.com
Rohit.Nirantar at wellsfargo.com
Fri May 11 06:02:40 CEST 2012
Hi All,
I am getting error while trying to execute code:
from win32com.client import Dispatch
xlApp = Dispatch("Excel.Application")
Dispatch C:\Python27\lib\site-packages\win32com\client\__init__.py 95
_GetGoodDispatchAndUserName C:\Python27\lib\site-packages\win32com\client\dynamic.py 108
_GetGoodDispatch C:\Python27\lib\site-packages\win32com\client\dynamic.py 85
com_error: (-2147221005, 'Invalid class string', None, None)
Can anyone please help me.
Thanks
________________________________
This email is subject to a disclaimer, please click on the following link or cut and paste the link into the address bar of your browser.
https://www.wellsfargo.com/com/disclaimer/ged2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20120511/98b19982/attachment.html>
More information about the python-win32
mailing list