Reply
 
Thread Tools Display Modes
  #1   Report Post  
Jeff Byrd
 
Posts: n/a
Default 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   Report Post  
Jezebel
 
Posts: n/a
Default

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




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:51 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"