On Jun 30, 2016, at 5:23 AM, Nabeela <tabu1...@gmail.com<mailto:tabu1...@gmail.com>> 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, t...@probo.com<mailto:t...@probo.com> Providenza & Boekelheide, Inc.
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32