Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-23-2012, 08:00 AM
wordguru wordguru is offline Eliminate time stamp in Track Changes Windows 7 64bit Eliminate time stamp in Track Changes Office 2010 64bit
Novice
 
Join Date: Jul 2012
Posts: 1
wordguru is on a distinguished road
Default Removing timestamps from tracked changes

I found that if you're saving the Word document as docx, you can edit the XML directly and remove the timestamps this way. Follow the procedure below if you want to do this:

1. Rename the file to zip so it becomes a ZIP archive and you can easily open it using the appropriate tools
2. Open the renamed file, it will now open as a ZIP archive
3. Open the word folder in the ZIP archive
4. Open and edit the document.xml file in a good text editor. For example use Notepad++
5. Search using the following regular expression:


w:date="[\d\W]*\w[\d\W]*\w"
and replace with nothing. This regular expression will match all XML
timestamp attributes and remove them from the document.xml file.
6. Update the ZIP archive with the modified document.xml file
7. Rename the ZIP archive back to docx sothat it becomes a Word document again
Reply With Quote
  #2  
Old 05-14-2015, 03:29 AM
iris iris is offline Eliminate time stamp in Track Changes Windows 7 64bit Eliminate time stamp in Track Changes Office 2007
Novice
 
Join Date: May 2015
Posts: 1
iris is on a distinguished road
Default

Quote:
Originally Posted by wordguru View Post
I found that if you're saving the Word document as docx, you can edit the XML directly and remove the timestamps this way.
Thanks wordguru, that's exactly what I needed!

I know this is an old thread, but I still found it useful, so in the spirit of paying it forward, some pointers to those still looking to solve this issue. Basically, a more detailed account of wordguru's steps 4 and 5:

The text editor wordguru mentions can be downloaded from here: https://notepad-plus-plus.org/download/. It's free and it's excellent. It's a plain text editor like the notepad program that comes with windows, but much better.

Once you're opened up your document.xlm file (that you got from unzipping your renamed .docx) in Notepad++, hit CTRL-H or Replace... from the Search menu. You'll then get a window like this:



  • CTRL-H to open the Replace... dialogue,
  • select 'Regular expresson' in the bottom left corner,
  • paste the bit of code that wordguru mentioned, w:date="[\d\W]*\w[\d\W]*\w" in the 'Find what:' field,
  • leave the 'Replace with:' field empty. (Alternatively, you could replace with a timestamp of your choice)
  • hit the 'Replace All' button.
Notepad++ will report how many occurrences it has replaced. Save your document and continue to wordguru's step 6.

Alternatively, you can reset the timestamps on edits by saving two versions of your document, named say 'original.docx' and 'revised.docx'.
In the document called 'original.docx' you then need to reject all changes (or if the document also has tracked changes by others, you can also just reject your own changes by first showing just yours (Show Markup > Reviewers > select your only) and then choosing Reject All Changes Shown.)
In the document called 'revised.docx', you need to do the opposite: accept all changes (or again just yours).
Now use the Compare function to compare your two versions of the document, with the one where you've rejected all changes as the original, and the one where you've accepted all changes as the revised version. This will give you a brand new document with tracked changes. This will not remove the timestamp on edits, but reset the timestamp on all edits to the moment you've done the compare. You can customize the timestamp by temporarily changing your computer's time and date settings before you run the compare.
Reply With Quote
  #3  
Old 01-12-2017, 12:43 PM
Georg Georg is offline Eliminate time stamp in Track Changes Windows 7 64bit Eliminate time stamp in Track Changes Office 2010 64bit
Novice
 
Join Date: Jan 2017
Posts: 1
Georg is on a distinguished road
Default Wonderful and creative solution!

Quote:
Originally Posted by wordguru View Post
I found that if you're saving the Word document as docx, you can edit the XML directly and remove the timestamps this way. Follow the procedure below if you want to do this:

1. Rename the file to zip so it becomes a ZIP archive and you can easily open it using the appropriate tools
2. Open the renamed file, it will now open as a ZIP archive
3. Open the word folder in the ZIP archive
4. Open and edit the document.xml file in a good text editor. For example use Notepad++
5. Search using the following regular expression:
w:date="[\d\W]*\w[\d\W]*\w"
and replace with nothing. This regular expression will match all XML
timestamp attributes and remove them from the document.xml file.
6. Update the ZIP archive with the modified document.xml file
7. Rename the ZIP archive back to docx sothat it becomes a Word document again
My man, what a superb guru you truly are! Praise and worship upon you, o great one! (And a lot of thanks, too!)
It’s confounding why this is not a built-in feature in Word, but the workaround at least makes it possible to do what one wants! And, once mastered, it doesn’t take toooo long.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eliminate time stamp in Track Changes Add a period of time to a referenced "Time" cell? derelyth Excel 4 03-27-2011 04:31 PM
Eliminate time stamp in Track Changes Eliminate blanc spaces at the beginnig row Il_Fabietto Word VBA 9 06-26-2009 05:04 AM
Eliminate time stamp in Track Changes Eliminate paragraph breaks geobruin Word 1 06-12-2009 06:55 AM
Eliminate time stamp in Track Changes How to eliminate Header on Contents Page George99 Word 1 12-06-2008 09:59 AM
Add date and time stamp to new mail and incoming mail cadsmarter Outlook 0 02-02-2006 08:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:42 PM.


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