Compartir a través de


Revision.Type Property

Word Developer Reference

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.

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

See Also