detect document change

J

jnic

Is there a way to detect that a document's content has changed? There is no
such event. Am I limited to tracking document.characters.count?
 
G

Graham Mayor

You can use vba to check whether the document has unsaved changes. e.g. a
macro containing the following

If ActiveDocument.Saved = False Then _
MsgBox ("Not Saved")

will pop up a message box if unsaved changes have been made.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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