Close document, do not save macro not working fully with FileSite

L

Ladycat32244

Our firm has a new document management system called Interwoven's FileSite.
The macro I use to close a Word document & not save changes stopped working
fully. I now have to also click "No" before it will close the document now,
and I didn't have to do that before. I entered: "Application.WindowState =
wdWindowStateNormal" and that did not help. Can anyone help me with a way
around this? Thanks all!
 
L

Lene Fredborg

Try to set the Saved property of the document to true before closing and see
whether it solves the problem. Example:

With ActiveDocument
.Saved = True
.Close savechanges:=wdDoNotSaveChanges
End With

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top