On Jun 30, 2016, at 5:23 AM, Nabeela
<[email protected]<mailto:[email protected]>> wrote:
i'm trying to run the following code and get this error
import win32com.client as win32
import os
excel = win32.gencache.EnsureDispatch('Excel.Application')
Traceback (most recent call last):
File
"C:\Users\nabeelah.bijapur\Documents\Anaconda3\lib\site-packages\win32com\client\gencache.py",
line 532, in EnsureDispatch
ti = disp._oleobj_.GetTypeInfo()
pywintypes.com<http://pywintypes.com>_error: (-2147418111, 'Call was rejected
by callee.', None, None)
Do you actually have Microsoft Office installed on this machine?
—
Tim Roberts, [email protected]<mailto:[email protected]>
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32