Share via


Revision Object

Revisions
Revision
Multiple objects

Represents a change marked with a revision mark. The Revision object is a member of the Revisions collection. The Revisions collection includes all the revision marks in a range or document.

Using the Revision Object

Use Revisions(index), where index is the index number, to return a single Revision object. The index number represents the position of the revision in the range or document. The following example displays the author name for the first revision in section one of the active document.

MsgBox ActiveDocument.Sections(1).Range.Revisions(1).Author

The Add method isn't available for the Revisions collection. Revision objects are added when change tracking is enabled. Set the TrackRevisions property to True to track revisions made to the document text. The following example enables revision tracking and then inserts "Action " before the selection.

ActiveDocument.TrackRevisions = True
Selection.InsertBefore "Action "

Properties | Application Property | Author Property | Creator Property | Date Property | FormatDescription Property | Index Property | Parent Property | Range Property | Style Property | Type Property

Methods | Accept Method | Reject Method

Parent Objects

Child Objects | Range Object | Style Object