Which Word version are you running this from? Your thread title refers to Word 2003 & 2010, whilst your user profile here implies Word 2007 might be involved.
Also, I can't see how you could possibly have all of the pink content highlighted, as 'wdDoc.SaveAs2' is quite separate from 'wdDoc.Close'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|