Edit

Share via


Revision.FormatDescription property (Word)

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.

Sub FmtChanges() 
 Dim revFmtRev As Revision 
 
 For Each revFmtRev In ActiveDocument.Revisions 
 If revFmtRev.FormatDescription <> "" Then 
 MsgBox "Format changes made : " & revFmtRev.FormatDescription 
 End If 
 Next 
End Sub

See also

Revision Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.