AcceptAllRevisions Method

Applies To

Document object.

Description

Accepts all tracked changes in the specified document.

Syntax

expression.AcceptAllRevisions

expression   An expression that returns a Document object.

See Also

AcceptAll method, RejectAllRevisions method.

Example

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

If ActiveDocument.Revisions.Count >= 1 Then _
    ActiveDocument.AcceptAllRevisions