Revisions.AcceptAll method (Word)

Accepts all the tracked changes in a document or range, removes all revision marks, and incorporates the changes into the document.

Syntax

expression. AcceptAll

expression Required. A variable that represents a 'Revisions' collection.

Remarks

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

Example

The following code example accepts all the tracked changes in the active document.

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

The following code example accepts all the tracked changes in the selection.

Selection.Range.Revisions.AcceptAll

See also

Revisions Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.