SetAvoidRectangle Method Example
This example prevents the Office Assistant balloon represented by the variable myBalloon
from being displayed in the region of the screen denoted by the specified coordinates.
Set myBalloon = Assistant.NewBalloon
With myBalloon
.SetAvoidRectangle 300, 250, 700, 500
.Text = "Cannot display in coordinates " & _
"300, 250, 700, 500."
.Show
End With