Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, and 2016. 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.
by Allen Wyatt
(last updated August 19, 2017)
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. If you save your document and reload it, you'll note that the comment author names have been changed as you indicated.
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, and 2016. 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!
Adding comments to a document is a normal activity when writing and editing. Once comments have been added, you may ...Discover More
Comments are often added to documents to aid in their development. You can use regular editing techniques to copy, move, ...Discover More
Need to get rid of all the comments in your document that are added to your text? You can do so by using the regular Find ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.