sturdybits

Guides / Clean Documents

How to accept all tracked changes and delete comments in many Word documents at once

30 November 2026

Word accepts tracked changes and deletes comments in the document you have open: Review > Accept > Accept All Changes, then Review > Delete > Delete All Comments in Document, then save. Word has no command that does a whole folder, so for many documents use a short VBA macro on Windows that does the same to every file, or a tool built for the job.

Hiding them isn't removing them

Switching Word's view to No Markup only hides tracked changes. Microsoft warns that they come back the next time someone opens the document. And accepting changes leaves comments where they are, so you need both steps.

1. In Word, one document at a time

Good for: a handful of documents, on Windows or a Mac.

  1. Save a copy with a new name and open it.
  2. On the Review tab, open the arrow beside Accept and choose Accept All Changes. To throw the changes away instead, choose Reject > Reject All Changes.
  3. Open the arrow beside Delete in the comments group and choose Delete All Comments in Document.
  4. Turn Track Changes off so later edits aren't tracked, and save.

On Windows, finish with File > Info > Check for Issues > Inspect Document to check nothing's left. It also finds the author's name and other details in the file: see how to remove metadata and personal information from Office files.

If Word won't let you accept the changes, the document may be protected so that every change is tracked. You'll need to unprotect it first, which may need its password.

2. A macro for a whole folder (Word for Windows)

Good for: Windows users who clean batches of documents regularly.

This macro opens every .docx file in a folder, accepts all tracked changes, deletes all comments, turns tracking off and saves a copy in a folder called Clean inside it. Your originals aren't changed. Files it can't clean, such as ones that need a password to open, are skipped and listed at the end.

  1. Put the documents in one folder and close any that are open in Word.
  2. In Word, press Alt+F11, choose Insert > Module and paste the code below.
  3. Change the folder in the FOLDER line, keeping the \ at the end.
  4. Click anywhere inside CleanFolder and press F5.
Sub CleanFolder()
    ' Accepts all tracked changes and deletes all comments in every .docx file
    ' in FOLDER. Clean copies go in a folder called Clean inside it.
    Const FOLDER As String = "C:\Users\YourName\Documents\To send\"   ' keep the \ at the end
    Dim cleanPath As String, f As String, skipped As String

    cleanPath = FOLDER & "Clean"
    If Dir(cleanPath, vbDirectory) = "" Then MkDir cleanPath

    f = Dir(FOLDER & "*.docx")
    Do While f <> ""
        If Left(f, 2) <> "~$" Then                ' skip Word's temporary files
            If Not CleanOne(FOLDER & f, cleanPath & "\" & f) Then skipped = skipped & vbCr & f
        End If
        f = Dir
    Loop

    If skipped = "" Then
        MsgBox "Done. The clean copies are in " & cleanPath
    Else
        MsgBox "Done. These files were skipped:" & skipped
    End If
End Sub

Private Function CleanOne(source As String, target As String) As Boolean
    Dim doc As Document
    On Error GoTo Failed
    ' The made-up password makes a password-protected file fail here instead of asking for one
    Set doc = Documents.Open(FileName:=source, ReadOnly:=True, AddToRecentFiles:=False, PasswordDocument:="x")
    doc.TrackRevisions = False
    doc.AcceptAllRevisions                      ' every part, headers, footers and footnotes included
    If doc.Comments.Count > 0 Then doc.DeleteAllComments
    ' doc.RemovePersonalInformation = True      ' delete the first ' to remove author and company names too
    doc.SaveAs2 FileName:=target, FileFormat:=wdFormatXMLDocument
    doc.Close SaveChanges:=False
    CleanOne = True
    Exit Function
Failed:
    If Not doc Is Nothing Then doc.Close SaveChanges:=False
End Function

A few things worth knowing:

When a tool is quicker

A macro means trusting code you've pasted in, and it only handles Word.

That's why we made Clean Documents. Drop in a folder of Word, Excel and PowerPoint files, and it first shows what each one contains: tracked changes and comments with the names of the people who made them, the author and company, and hidden text, sheets and slides. Then it accepts all tracked changes in the Word files, as Word's Accept All Changes does, removes comments and notes from all three kinds of file, and removes the author, last modified by and company, with a report of what it removed from each file. It doesn't save through Word, so your name isn't added to the copies, and your originals aren't changed.

It can't reject changes. A few kinds of tracked change, such as changes to table cells, have to be accepted in Word first, and password-protected and digitally signed files are left out with the reason.

It runs in your browser, and your files never leave your computer. Seeing what's in your files is free for any number of them. The free version cleans up to 5 files at a time; Pro is £29 once and cleans any number. You can try it with sample files first.

Quick answers

Does accepting all changes delete the comments? No. Comments stay until you delete them with Delete All Comments in Document.

Can Word accept changes in several documents at once? Not on its own. Use a macro like the one above on Windows, or a tool that takes a folder.

Once I've accepted the changes, can the other person see what was deleted? Not from the tracked changes: accepting them removes the deleted text from that copy when you save it. Check the comments and properties too.