RevisionsBalloonSide Property

Microsoft Word Visual Basic

Show All

RevisionsBalloonSide Property

       

Sets or returns a WdRevisionsBalloonMargin constant representing the global setting in Microsoft Word that specifies whether Word displays revision balloons in the left or right margin. Read/write.

WdRevisionsBalloonMargin can be one of these WdRevisionsBalloonMargin constants.
wdLeftMargin
wdRightMargin

expression.RevisionsBalloonSide

expression   Required. An expression that returns a View object.

Example

This example toggles the revision balloons between the left and 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.

Sub ToggleRevisionBalloons()
    With ActiveWindow.View
        If .RevisionsBalloonSide = wdLeftMargin Then
            .RevisionsBalloonSide = wdRightMargin
        Else
            .RevisionsBalloonSide = wdLeftMargin
        End If
    End With
End Sub