RejectAll Method

Applies To

Revisions collection object.

Description

Rejects all the tracked changes in a range. The revision marks are removed, leaving the original text intact.

Syntax

expression.RejectAll

expression Required. An expression that returns a Revisions object.

Remarks

Use the RejectAllRevisions method to reject all revisions in a document. Formatting changes cannot be rejected.

See Also

AcceptAll method, Reject method, RejectAllRevisions method.

Example

This example rejects all the tracked changes in the active document.

ActiveDocument.Revisions.RejectAll
This example rejects all the tracked changes in the selection.

Set myRange = Selection.Range
myRange.Revisions.RejectAll