Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2014, 05:32 AM
rajesraja rajesraja is offline How to Identify whether the Word document has undergone any changes? Windows 7 64bit How to Identify whether the Word document has undergone any changes? Office 2007
Novice
How to Identify whether the Word document has undergone any changes?
 
Join Date: Aug 2012
Posts: 2
rajesraja is on a distinguished road
Question How to Identify whether the Word document has undergone any changes?

Need help! I would like to Identify whether the Word document has modified since the time it has been opened till before closing. While closing the word document, a Boolean value should be returned based on either the document undergone changes or no changes made to the document since opened. I want this to be achieved using word VBA code.


Thanks in advance.
Reply With Quote
  #2  
Old 07-08-2014, 06:13 AM
macropod's Avatar
macropod macropod is offline How to Identify whether the Word document has undergone any changes? Windows 7 32bit How to Identify whether the Word document has undergone any changes? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,367
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See: https://www.msofficeforums.com/word-...n-changed.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 07-08-2014, 11:55 PM
rajesraja rajesraja is offline How to Identify whether the Word document has undergone any changes? Windows 7 64bit How to Identify whether the Word document has undergone any changes? Office 2007
Novice
How to Identify whether the Word document has undergone any changes?
 
Join Date: Aug 2012
Posts: 2
rajesraja is on a distinguished road
Question Need Help

I need to have a flag like "DocumentChanged" and i should assign either "TRUE" or "FALSE" to it based on the document have been edited or not.

Regardless to whether the word document is saved or not, i would like to know whether any changes has been done to the document from the time when it got opened, even though the document got saved any number of times, if some changes happened then the flag which i have set should be marked correctly.

Also i don't want to use the Track Changes option to achieve this expected result. Thanks in advance.

Any kind of help is much appreciated.
Reply With Quote
  #4  
Old 07-09-2014, 12:37 AM
macropod's Avatar
macropod macropod is offline How to Identify whether the Word document has undergone any changes? Windows 7 32bit How to Identify whether the Word document has undergone any changes? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,367
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Have another read of the discussion in the link.

PS: Instead of trying to resurrect the discussion in that thread, resulting in two concurrent threads on the same topic, keep to your own, existing thread.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 07-11-2014, 07:53 PM
macropod's Avatar
macropod macropod is offline How to Identify whether the Word document has undergone any changes? Windows 7 32bit How to Identify whether the Word document has undergone any changes? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,367
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Cross-posted at: http://social.msdn.microsoft.com/For...2-4d4b64532e7d
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184

Asking the same question somewhere else isn't going to change how Word works.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Identify whether the Word document has undergone any changes? How to identify languages in Word document DaveW Word 12 06-26-2014 09:44 PM
VBA to identify how Word was invoked Sorcerer13 Word VBA 7 04-24-2014 11:15 AM
How to identify whether Word 2007 was used to create a document saved as Word 2003 noviceatwork Word 0 03-08-2012 06:40 AM
how to identify the word files created using Windows or Mac Operating System? mariaprabudass Word 0 08-06-2010 05:52 AM
C# API to identify the uncommitted changes in Excel and Word document? althafuddeen Excel 0 04-06-2010 07:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft