AcceptAll Method
Applies To
Revisions collection object.
Description
Accepts all the tracked changes in a document or range. The revision marks are removed, and the changes are incorporated into the document.
Syntax
expression.AcceptAll
expression Required. An expression that returns a Revisions object.
Remarks
Use the AcceptAllRevisions method to accept all revisions in a document.
See Also
Accept method, AcceptAllRevisions method, RejectAll method.
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