>>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 thin
I have a script on my server that is performing a win32com operation to
generate a MS Word document, and I am getting an error stating: (-2147418111,
'Call was rejected by callee', None,None).
How can I get around this error? What can cause it?
I am using python 2.6. Code below
Tha