Can't Close Word Instance without Save Changes Dlg Box
PoulsenL at capanalysis.com
PoulsenL at capanalysis.com
Mon Jul 21 12:09:01 EDT 2003
I am using COM to manipulate word attachments to emails. Once I use them I
am not concerned with saving the results. I use the following line:
myWord.ActiveDocument.Close(wc.wdDoNotSaveChanges)
This closes the document fine but only after I click no on the resulting
"Save Changes" dialog box. Am I missing something really simple? I can
send preceding lines if needed.
Thanks in advance,
Loren Poulsen
More information about the Python-list
mailing list