Advertisement

06.24.2007 at 05:05AM PDT, ID: 22653978
[x]
Attachment Details

How to find out if Word document has been changed since saving

Asked by PatternNut in Visual Basic Programming, Microsoft Word

Tags: changed, has, document, word, been

Hi Experts,

Is there any way in VBA to determine if changes have been made to a Word document since it was saved?  Word definitely has this feature (if you save a document, then press exit, it will exit straight away.... but if you save a document, make a change, then press exit, it will give you a prompt before you can exit)... but is there any way to tap into that programmatically?  I'd like VBA to determine whether changes have been made since it was saved so it can determine whether to show a prompt or not.

Thanks in advance,

PatternNutStart Free Trial
[+][-]06.24.2007 at 05:09AM PDT, ID: 19350784

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.24.2007 at 05:19AM PDT, ID: 19350816

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.24.2007 at 05:27AM PDT, ID: 19350835

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.24.2007 at 05:29AM PDT, ID: 19350844

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Microsoft Word
Tags: changed, has, document, word, been
Sign Up Now!
Solution Provided By: chris_bottomley
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32