View.RevisionsView Property

Word Developer Reference

Sets or returns a WdRevisionsView constant representing the global option that specifies whether Word displays the original version of a document or a version with revisions and formatting changes applied. Read/write.

Syntax

expression.RevisionsView

expression   Required. A variable that represents a View object.

Example

This example switches between displaying the original and displaying a final version of the document. 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.

Visual Basic for Applications
  Sub ToggleRevView()
    With ActiveWindow.View
        If .RevisionsMode = wdBalloonRevisions Then
            If .RevisionsView = wdRevisionsViewFinal Then
                .RevisionsView = wdRevisionsViewOriginal
            Else
                .RevisionsView = wdRevisionsViewFinal
            End If
        End If
    End With
End Sub

See Also