MS Word macro to accept all "format" changes

Posted on 2014-08-26
Last Modified: 2014-09-11
Dear expert,

As per subject line.
Best regards,
Question by:easycapital
    LVL 76

    Accepted Solution

    Try this:
    Sub AcceptFormatChanges()
        Dim rev As Revision
        For Each rev In ActiveDocument.Revisions
            If Left(rev.FormatDescription, 10) = "Formatted:" Then
            End If
        Next rev
    End Sub

    Open in new window

    LVL 21

    Expert Comment

    Graham's code will accept all existing format changes, but be sure to turn off the Formatting checkbox within the Track Changes Options dialog to prevent it from marking future formatting changes.

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now