Share via


Revision.FormatDescription Property

Word Developer Reference

Returns a String representing a description of tracked formatting changes in a revision. Read-only.

Syntax

expression.FormatDescription

expression   An expression that returns a Revision object.

Example

This example displays a description for each of the formatting changes made in a document with tracked changes.

Visual Basic for Applications
  Sub FmtChanges()
    Dim revFmtRev As Revision
For Each revFmtRev In ActiveDocument.Revisions
    If revFmtRev.<strong class="bterm">FormatDescription</strong> &lt;&gt; "" Then
        MsgBox "Format changes made : " &amp; revFmtRev.FormatDescription
    End If
Next

End Sub

See Also