View.RevisionsBalloonSide Property

Word Developer Reference

Sets or returns a WdRevisionsBalloonMargin constant that specifies whether Word displays revision balloons in the left or right margin in a document.

Syntax

expression.RevisionsBalloonSide

expression   Required. A variable that represents a View object.

Example

This example switches the revision balloons between the left side and the right side. 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 ToggleRevisionBalloons()
    With ActiveWindow.View
        If .RevisionsBalloonSide = wdLeftMargin Then
            .RevisionsBalloonSide = wdRightMargin
        Else
            .RevisionsBalloonSide = wdLeftMargin
        End If
    End With
End Sub

See Also