Share via


RevisionsMode Property

WdRevisionsMode

WdRevisionsMode can be one of these WdRevisionsMode constants.
wdBalloonRevisions Displays revisions in balloons in the left or right margin.
wdInLineRevisions Displays revisions within the text using strikethrough for deletions and underlining for insertions. This is the default setting for prior versions of Word.

expression.RevisionsMode

expression Required. An expression that returns a View object.

Example

This example toggles between displaying the revisions in balloons in the margins and displaying them inline with the text. This example assumes that the document in the active window contains revisions made by one or more reviewers and that revisions are displayed in balloons.

Sub TogglesRevisionMode()
    With ActiveWindow.View
        If .RevisionsMode = wdInLineRevisions Then
            .RevisionsMode = wdBalloonRevisions
        Else
            .RevisionsMode = wdInLineRevisions
        End If
    End With
End Sub

Applies to | View Object