Range.Revisions Property (Word)
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Range.Revisions Property (Word)

Returns a Revisions collection that represents the tracked changes in the range. Read-only.

expression .Revisions

expression A variable that represents a Range object.

For information about returning a single member of a collection, see Returning a Single Object from a Collection.

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
Show:
© 2016 Microsoft