[python-win32] Call was rejected by callee.
Paul Keating
keating at acm.org
Sun Jul 25 14:13:14 CEST 2010
>> objDoc.Content.Font.Name = "Arial" # <--- fails here
It ought to work.
Switch Visible on so that you can see what is happening as you step through
the code. I suspect that Word is popping up a dialogue box (about recovered
files, perhaps) that you cannot see, and is refusing to do some things until
the popup is dismissed.
If that doesn't help, check that objDoc.Content is returning what you think
it does.
----- Original Message -----
From: Andrew C
More information about the python-win32
mailing list