How Do I check if Document has changed but not saved

F

FotoArt

hello everyone

In word, someone can open a saved document, bring whatever changes and print
them out without saving.
But I need a way to know that the document being printed is a changed
document since last saved.

Any idea to capture that into a variable would be appreciated
 
D

Doug Robbins - Word MVP

ActiveDocument.Saved will return False if the document has not been changed
without having been saved. But note, that due to the updating of fields
when a document prints, printing the document will quite often cause that to
return False even if the user does not specifically change anything in the
document.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
R

Russ

You could capture the print event for your templates document and put a
watermark on those printouts that ActiveDocument.Saved = False.
 

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