Revision.Type property (Word)

Returns the revision type. Read-only WdRevisionType.

Syntax

expression.Type

expression Required. A variable that represents a 'Revision' object.

Example

This example accepts the next revision in the active document if the revision type is inserted text.

Set myRev = Selection.NextRevision 
If Not (myRev Is Nothing) Then 
 If myRev.Type = wdRevisionInsert Then myRev.Accept 
End If

See also

Revision 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.