RejectAllRevisions Method

Applies To

Document object.

Description

Rejects all tracked changes in the specified document.

Syntax

expression.RejectAllRevisions

expression   An expression that returns a Document object.

See Also

Reject method, RejectAll method.

Example

This example checks the main story in active document for tracked changes, and if there are any, the example rejects all revisions in all stories in the document.

If ActiveDocument.Revisions.Count >= 1 Then ActiveDocument.RejectAllRevisions