RevisionsView Property
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.
WdRevisionsView can be one of these WdRevisionsView constants. |
wdRevisionsViewFinal Displays the document with formatting and content changes applied. |
wdRevisionsViewOriginal Displays the document before changes were made. |
expression.RevisionsView
expression Required. An expression that returns a View object.
Example
This example toggles between displaying the original and 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.
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