Sep 15, 2004 #1 moontho Technical User Jun 4, 2003 85 GB Hi. Is there a way using code to close a document without saving, thus preventing the "do you want to save" box coming up with some documents. Many thanks Thom
Hi. Is there a way using code to close a document without saving, thus preventing the "do you want to save" box coming up with some documents. Many thanks Thom
Sep 15, 2004 #2 S SkipVought Programmer Dec 4, 2001 47,492 US Thom Code: ThisDocument.Close SaveChanges:=wdDoNotSaveChanges Skip, [red]Be advised:[/red] When transmitting sheet music... If it ain't baroque, don't fax it! Upvote 0 Downvote
Thom Code: ThisDocument.Close SaveChanges:=wdDoNotSaveChanges Skip, [red]Be advised:[/red] When transmitting sheet music... If it ain't baroque, don't fax it!
Sep 15, 2004 Thread starter #3 moontho Technical User Jun 4, 2003 85 GB Brilliant. Thanks for the quick response Upvote 0 Downvote