Revisions Property
Applies To
Document object, Range object.
Description
Returns a Revisions collection that represents the tracked changes in the document or range. Read-only.
See Also
ShowRevisions property, TrackRevisions property.
Example
This example displays the number of tracked changes in the first section in the active document.
MsgBox ActiveDocument.Sections(1).Range.Revisions.Count
This example accepts all tracked changes in the first paragraph in the selection.
Set myRange = Selection.Paragraphs(1).Range
myRange.Revisions.AcceptAll
This example inserts text if change tracking isn't enabled.
If ActiveDocument.TrackRevisions = False Then
Selection.InsertBefore "new text"
End If