Generating a Markup Report

Written by Allen Wyatt (last updated June 11, 2026)

Hillary's team uses Track Changes and comments while developing documents. She notes that it would be handy to generate a report that indicates information about the changes, such as how many changes and comments there are, when the first change was made, when the last change was made, etc. Hillary wonders if there is a tool that will provide this sort of analysis.

The traditional way to get this sort of information is to print a list of markup by using these steps:

  1. Press Ctrl+P. Word displays your printing settings.
  2. Under the Settings heading is a drop-down list that is set, by default, to Print All Pages. (This is the very first drop-down list under the Settings heading.)
  3. Using this drop-down list, choose List of Markup.
  4. Click the Print button.

If you study what is produced in the printed list, you may find it provides just what you need. If not, then you'll want to try using a macro to analyze the changes in the document to pull out the desired information. The following will provide the simple information that Hillary requested:

Sub SummarizeMarkup()
    Dim rev As Revision
    Dim cmt As Comment
    Dim firstRevDate As Date
    Dim lastRevDate As Date
    Dim firstCmtDate As Date
    Dim lastCmtDate As Date
    Dim revDate As Date
    Dim cmtDate As Date
    Dim revInitialized As Boolean
    Dim cmtInitialized As Boolean
    Dim msg As String

    ' Get earliest/last change dates
    revInitialized = False
    For Each rev In ActiveDocument.Revisions
        revDate = 0
        On Error Resume Next
        revDate = CDate(rev.Date)
        On Error GoTo 0

        If revDate > 0 Then
            If Not revInitialized Then
                firstRevDate = revDate
                lastRevDate = revDate
                revInitialized = True
            Else
                If revDate < firstRevDate Then firstRevDate = revDate
                If revDate > lastRevDate Then lastRevDate = revDate
            End If
        End If
    Next rev

    ' Get earliest/last comment dates
    cmtInitialized = False
    For Each cmt In ActiveDocument.Comments
        cmtDate = 0
        On Error Resume Next
        cmtDate = CDate(cmt.Date)
        On Error GoTo 0

        If cmtDate > 0 Then
            If Not cmtInitialized Then
                firstCmtDate = cmtDate
                lastCmtDate = cmtDate
                cmtInitialized = True
            Else
                If cmtDate < firstCmtDate Then firstCmtDate = cmtDate
                If cmtDate > lastCmtDate Then lastCmtDate = cmtDate
            End If
        End If
    Next cmt

    ' Output summary
    msg = "Document Review Summary:" & vbCrLf & vbCrLf & _
      "Tracked Changes" & vbCrLf & _
      "   Total: " & ActiveDocument.Revisions.Count & vbCrLf

    If revInitialized Then
        msg = msg & _
          "   First: " & Format(firstRevDate, "m/d/yyyy h:mm AM/PM") & vbCrLf & _
          "   Last: " & Format(lastRevDate, "m/d/yyyy h:mm AM/PM") & vbCrLf
    Else
        msg = msg & _
          "   No date information available for changes" & vbCrLf
    End If

    msg = msg & vtCrLf & _
      "Comments" & vbCrLf & _
      "   Total: " & ActiveDocument.Comments.Count & vbCrLf

    If cmtInitialized Then
        msg = msg & _
          "   First: " & Format(firstCmtDate, "m/d/yyyy h:mm AM/PM") & vbCrLf & _
          "   Last: " & Format(lastCmtDate, "m/d/yyyy h:mm AM/PM")
    Else
        msg = msg & _
          "   No date information available for comments"
    End If

    MsgBox msg, vbInformation, "Document Markup Summary"
End Sub

The macro steps through the tracked changes and determines the earliest and latest dates, then does the same for the comments. The summary information displayed indicates the numbers and dates for both changes and comments. The macro could be expanded, as desired, based on analyzing the other properties stored by Word for each change or comment.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9443) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Hiding Entries in an InputBox

Requiring users to input a password in Excel increases the security of the worksheet and can prevent someone from running ...

Discover More

Replacing an X with a Check Mark

In order to provide a finishing touch to your document, you may want to replace mundane X marks with fancier check marks. ...

Discover More

Putting a File Name and Path in a Default Footer

Want to add a filename and path to the footer of a template? You might be confused by what you see in documents created ...

Discover More

Discover the Power of Microsoft Office This beginner-friendly guide reveals the expert tips and strategies you need to skyrocket your productivity and use Office 365 like a pro. Mastering software like Word, Excel, and PowerPoint is essential to be more efficient and advance your career. Simple lessons guide you through every step, providing the knowledge you need to get started. Check out Microsoft Office 365 For Beginners today!

More WordTips (ribbon)

Noting Moved Words and Phrases in Markup

The Track Changes tool can be very helpful in keeping track of the edits in a document. If you want to track when you ...

Discover More

Finding Changes Made by Two People

The Track Changes feature in Word can be very helpful when multiple people are working on a document. What if you want to ...

Discover More

Making Sure Changes and Comments are Anonymous

When using Track Changes, Word normally notes the originator of a particular comment or change. This information can then ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three less than 4?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.