Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2021, 05:51 PM
rmk911 rmk911 is offline Convert specific author's name in comments and tracked changes to another name Windows 7 64bit Convert specific author's name in comments and tracked changes to another name Office 2007
Novice
Convert specific author's name in comments and tracked changes to another name
 
Join Date: Apr 2018
Posts: 7
rmk911 is on a distinguished road
Smile Convert specific author's name in comments and tracked changes to another name

Hi all

Apologies if this is a repost - I have searched the forum for an equivalent thread and could not find it.

I have a document that has tracked changes in my name (John Smith), which is great when I want to send it to other people within my organisation, because they know who I am. However, I am looking for a way to convert all tracked changes (including comments) to be listed as that of my organisation (such as ACME Corporation). But at the same time, I only want my tracked changes (and comments) to be changed - not every single change such as those by other people.

I can only assume that this is possible via VBA, however, if this is incorrect, then please let me know. If it is indeed possible, then what code can achieve this?

Thanks!
Reply With Quote
  #2  
Old 12-07-2021, 06:29 PM
Guessed's Avatar
Guessed Guessed is offline Convert specific author's name in comments and tracked changes to another name Windows 10 Convert specific author's name in comments and tracked changes to another name Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The revision author is a read only property so you can't directly do it via vba. However you have some options.
1. Create two copies of the document: one accepting all your changes and one rejecting them all. Then use a compare documents to get the differences marked as revisions while the username is set to 'ACME'
2. Edit the document with a ZIP editor and then use a text editor to globally replace your name in these xml files: word\document.xml and word\comments.xml
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 12-09-2021, 09:14 PM
Peterson Peterson is offline Convert specific author's name in comments and tracked changes to another name Windows 10 Convert specific author's name in comments and tracked changes to another name Office 2019
Competent Performer
 
Join Date: Jan 2017
Posts: 141
Peterson is on a distinguished road
Default

We do this often at my organization. I'm attaching instructions I put together for our editors. Note that the context is slightly different: our editors are usually selectively changing several authors to the same author name, not just changing one.

The instructions are simplified a bit -- you don't actually have to extract all of the files. But I wanted the process to be simple for our editors, and this method ensures that all "stories" (body, headers, footers, etc.) in the file are searched. It also handles issues (author initials showing) that can crop up in PDF'd versions with track changes shown, plus a somewhat recently added people.xml file that can cause issues with identifying authors whose names you're trying to change.


Finally, you can save several steps by using 7-Zip (free, widely used), with which you can directly extract XML files from Word docs -- no need to add a .ZIP extension -- by using the "Extract to" feature, which creates a folder with the same name as the Word file. Next, follow the attached instructions, beginning with step 6.
Attached Files
File Type: pdf Selectively Revise Existing Author Names_MS PDF.pdf (228.4 KB, 58 views)
Reply With Quote
Reply

Tags
author, comments, tracked changes

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA macro to change author name in tagged comments, then delete the tags mjt Word VBA 0 01-28-2021 08:48 AM
Tracked changes and comments disappeared with All Markup selected sleake Word 4 06-18-2018 05:12 AM
Convert specific author's name in comments and tracked changes to another name Word for Mac 2011 - Lost all tracked changes and all comments Clint57 Word 1 08-24-2017 06:56 PM
Merging certain Tracked Changes and Comments The_Chefkoch Word 0 02-01-2017 07:22 AM
Turning off comments from individual author only mikkelgivskov@gmail.com Word 1 08-27-2016 09:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:07 PM.


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