Move Microsoft Word Comment Text into the Document
Question details
Move text from Word comments into the main document after the passages they reference.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user wants comment content to appear as regular document text next to the associated passage.
- Observed behavior
- Comment text should appear in the main document, with the original comments removed.
Review the comments and confirm where their text should be inserted. For the macro method, open the document in desktop Word and make sure you can run VBA macros.
Move multiple Word comments with a VBA macro
Use this method to insert comment text after each associated passage and remove the processed comments.
The macro processes comments from last to first and inserts their text as plain document text. It does not preserve comment formatting, author information, or timestamps; review threaded comments and the results afterward.
In desktop Word, open the document, then select Developer > Visual Basic. If the Developer tab is hidden, enable it in Word's ribbon settings.
In the VBA editor, select Insert > Module and paste this code: Sub MoveCommentsToText() Dim i As Long Dim c As Comment Dim target As Range Dim commentText As String Dim oldScreenUpdating As Boolean oldScreenUpdating = Application.ScreenUpdating On Error GoTo CleanUp Application.ScreenUpdating = False For i = ActiveDocument.Comments.Count To 1 Step -1 Set c = ActiveDocument.Comments(i) commentText = c.Range.Text Do While Len(commentText) > 0 If Right$(commentText, 1) = vbCr Or Right$(commentText, 1) = Chr$(7) Then commentText = Left$(commentText, Len(commentText) - 1) Else Exit Do End If Loop Set target = c.Scope.Duplicate target.Collapse Direction:=wdCollapseEnd target.InsertAfter " " & commentText c.Delete Next i CleanUp: Application.ScreenUpdating = oldScreenUpdating If Err.Number <> 0 Then MsgBox "The macro stopped: " & Err.Description End Sub
Return to Word, select Developer > Macros, choose MoveCommentsToText, and select Run.
Check the inserted text and spacing in the document and open the Comments pane to confirm which comments were removed.

Copy each Word comment into the document manually
Use this method when there are only a few comments or macros are unavailable.
Move Comment Text into a Document with WPS Writer
Open your document in WPS Writer, copy each comment into the main text, and remove the original comment after checking its placement.
- 1. Open the document: Open WPS Writer and use Open to select your Word document.
- 2. Find a comment: Open the Review tab and display the document's comments, then select the comment you want to move.
- 3. Copy the comment: Select and copy the comment text, click after the associated passage in the document, and paste the text.
- 4. Delete and repeat: Select the original comment and use the Review tab's delete comment control. Repeat for other comments, then save the document.

Frequently Asked Questions
Can I move comments without using a macro?
Yes. Open the Comments pane, copy a comment's text, and paste it after the associated passage. Then select the comment and use Review > Delete.
Does the macro replace the text that the comment refers to?
No. It inserts the comment text after the associated passage and then deletes the comment. Check the resulting spacing and placement.
Will the macro preserve comment formatting and author details?
No. The macro inserts plain comment text; it does not transfer comment formatting, author names, or timestamps into the document.
Why can't I run the VBA macro in Word?
The macro requires desktop Word and permission to run VBA. Check Developer > Macros and your organization's macro security settings, or use the manual copy-and-paste method.




