logo
search
VBA & Macro Problems

How to Resolve All Word Comments at Once Using VBA

Camila MilosovichCamila Milosovich Oct 8, 2026 872 views

Question details

The user needs a way to bulk resolve every comment thread in a Word document simultaneously.

How to Resolve All Word Comments at Once Using VBA
Product
Microsoft Word
Device & OS
not provided
Scenario
Reviewing a large document with numerous comment threads that need to be resolved quickly without clicking through each one manually.
Observed behavior
Word requires comments to be resolved individually because it lacks a built-in 'Resolve All' command, which is highly time-consuming for large documents.
Before you start

Save a backup copy of your document and ensure that the Developer tab is enabled in your Word ribbon before running any VBA code.

Solution 1Recommended

Use a VBA Macro to Resolve All Comments

Since Word lacks a native button for this action, running a short VBA script will automatically loop through and mark all comments in the active document as resolved.

This macro iterates through every comment in your document and changes its 'Done' property to True, effectively resolving them instantly without manual clicks.

1
Open the VBA Editor

Press 'Alt + F11' on your keyboard to open the Microsoft Visual Basic for Applications window.

2
Insert a New Module

Click 'Insert' in the top menu bar and select 'Module' to create a blank window for your code.

3
Paste the Macro Code

Copy and paste the following code into the blank module window: Sub ResolveAllComments() Dim cmt As Comment For Each cmt In ActiveDocument.Comments cmt.Done = True Next cmt End Sub

4
Run the Macro

Press 'F5' on your keyboard or click the green 'Run Sub/UserForm' button in the toolbar to execute the script and resolve all comments.

Use a VBA Macro to Resolve All Comments
Macro Security Settings: If the macro does not run, you may need to check your Trust Center settings (File > Options > Trust Center > Trust Center Settings > Macro Settings) to temporarily enable macros.
Free Microsoft Office alternative

Manage Documents Efficiently with WPS Office

If you often find yourself frustrated by missing native features in Microsoft Word, consider switching to WPS Office. It provides a familiar, lightweight, and highly compatible environment for all your document review needs.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your device.
  2. 2. Open Your Document: Launch WPS Writer and open your existing Word document seamlessly with original formatting preserved.
  3. 3. Review with Ease: Navigate to the Review tab to effortlessly manage comments, track changes, and collaborate.
Fully compatible with Microsoft Word .doc and .docx formatsIntuitive document review and collaboration toolsFree, lightweight, and fast-loading alternative to Microsoft Office
microsoft office alternative - wps office

Frequently Asked Questions

Can I delete all comments at once instead of just resolving them?

Yes. While resolving keeps the comment history visible but dimmed, you can permanently delete all comments by navigating to the Review tab, clicking the dropdown arrow under the 'Delete' button, and selecting 'Delete All Comments in Document'.

How do I add the Developer tab to Word to run this macro?

To show the Developer tab, go to File > Options > Customize Ribbon. In the right-hand list of Main Tabs, check the box next to 'Developer' and click OK.

Will this macro affect comments in other open documents?

No, the macro specifically targets 'ActiveDocument.Comments', meaning it will only resolve comments in the document that is currently active and visible on your screen when the code is executed.