Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Changing the User Name in Existing Comments.
Written by Allen Wyatt (last updated October 19, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021
Denise notes that when she uses Track Changes and inserts a comment, the user's name shows in the comment. When she is ready to finalize the document, but with Track Changes still on, Denise wonders if she can go back and change the user name on one or more comments.
There are a couple of things you can do to make the changes. First, you could change the user name and initials to the name you want in the comments and then, effectively, recreate the comments. (You can copy the comment into the Clipboard and then paste it back into the document.) This has a downside, however, as the date and time stamp for the comment will be updated to reflect when you recreated the comment.
Perhaps a better approach is to use a macro to make the changes. When a comment is created, it is added to the Comments collection, which can be accessed through VBA. Each comment has Author and Initial properties that, respectively, represent the comment author's name and initials. The following macro is an example of how these can be changed:
Sub ChangeCommentAuthor() Dim J As Integer Dim sAuthorname As String Dim sInitial As String If Selection.Comments.Count = 0 Then MsgBox "No comments in your selection!", _ vbCritical + vbOKOnly, "Cannot perform action" Exit Sub End If sAuthorname = InputBox("New author name?", _ "Comments Author Name") If sAuthorname = "" Then End sInitial = InputBox("New author initials?", _ "Comments Initials") If sInitial = "" Then End With Selection For J = 1 To .Comments.Count .Comments(J).Author = sAuthorname .Comments(J).Initial = sInitial Next J End With End Sub
All you need to do is make a selection that contains the comment you want to modify (select the text in the main document that includes the comment indicator) and then run the macro. Enter a new name and initials when prompted. When the macro is done running, it may not appear like anything has changed, depending on your version of Word. If this is the case, then save your document and reload it. You should then see the updated information in the comments.
I should also note that this macro will work with both traditional comments (called "notes" in the latest versions of Word) and with threaded comments. If you actually have comments threaded (meaning an original comment and replies to that comment) it will affect all levels of the comments.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (8614) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word here: Changing the User Name in Existing Comments.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
When developing a document, you may end up with all sorts of comments that you need to deal with. One common task is to ...
Discover MoreWhen you print out your documents, do any comments in the document appear very tiny on the printout? It could be because ...
Discover MoreComments are a great way to share, well, comments with other people looking through your documents. If you want to print ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2024-10-20 19:47:54
Steven Maier
I find it's easiest to save the document as a .xml file. Close Word and open the .xml file in WordPad. You can then search "xxx" and replace with "yyy". This will change not only the name in the comments but also the author of any redlining. This technique also works to remove any locking on the document such as no changes to editing. In WordPad, search for 'enforcement'. When you find 'enforcement=1", change the 1 to 0. In both cases, save and open in Word and save as .docx
Steve Maier
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments