Muokkaa

Jaa


View.RevisionsBalloonSide property (Word)

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.

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

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.