Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Code to close documents and not save changes
We have a Word2003 merge document that merges with an Access2003 Query.
When we close the document it propmts us to save changes. What code can I use to close the documents (the merged document and the original) and not save any changes? -- Jeff Byrd |
#2
|
|||
|
|||
Either:
Doc.Saved = TRUE Word will not save a document if it thinks the doc is saved already or unchanged since opened. or, more simply Doc.Close SaveChanges:=FALSE "Jeff Byrd" wrote in message ... We have a Word2003 merge document that merges with an Access2003 Query. When we close the document it propmts us to save changes. What code can I use to close the documents (the merged document and the original) and not save any changes? -- Jeff Byrd |