AcceptAll Method

Microsoft Word Visual Basic

Accepts all the tracked changes in a document or range. The revision marks are removed, and the changes are incorporated into the document.

expression.AcceptAll

expression    Required. An expression that returns a Revisions object.

Remarks

Use the AcceptAllRevisions method to accept all revisions in a document.

Example

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

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

This example accepts all the tracked changes in the selection.

Selection.Range.Revisions.AcceptAll