Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pa-0/51ed3962053773c44a01f8c7f86a86f9 to your computer and use it in GitHub Desktop.
Save pa-0/51ed3962053773c44a01f8c7f86a86f9 to your computer and use it in GitHub Desktop.
VBA - Change comment author's name
'https://learn.microsoft.com/en-us/office/vba/api/word.comment
Sub ChangeCommentAuthor()
Dim Comment
For Each Comment In ActiveDocument.Comments
If Comment.Author = "KIM Jingu" Then
Comment.Author = "Pulito"
End If
Next
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment