win32com python AttributeError!

R

Rebecca Taylor

Hi, I am having trouble with win32com for python. I get the following
error when I try to issue any command after using Dispatch.
Traceback (most recent call last):
File "<pyshell#7>", line 1, in ?
xl.Visible=0
File "D:\Python22\Lib\site-packages\win32com\client\dynamic.py",
line 504, in __setattr__
raise AttributeError, "Property '%s.%s' can not be set." %
(self._username_, attr)
AttributeError: Property 'Excel.Application.Visible' can not be set.
I have programs that I used to use all the time and they simply won't
run. Is this an error with python or win32com or my setup?

Thanks,
-rebecca
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top