|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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. |
Tags |
author, comments, tracked changes |
|
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 |
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 |