Balloon.SetAvoidRectangle Method
Prevents the Office Assistant balloon from being displayed in a specified area of the screen.
Note
|
|---|
| The Microsoft Office Assistant and AnswerWizard have been depreciated in the release of the Microsoft Office system. |
Syntax
expression.SetAvoidRectangle(Left, Top, Right, Bottom)
expression A variable that represents a Balloon object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| Left | Required | Integer | The coordinates (in points and relative to the screen) at the left area of the screen that the Office Assistant balloon will avoid when it's displayed.
|
| Top | Required | Integer | The coordinates (in points and relative to the screen) at the top area of the screen that the Office Assistant balloon will avoid when it's displayed.
|
| Right | Required | Integer | The coordinates (in points and relative to the screen) at the right area of the screen that the Office Assistant balloon will avoid when it's displayed.
|
| Bottom | Required | Integer | The coordinates (in points and relative to the screen) at the bottom area of the screen that the Office Assistant balloon will avoid when it's displayed. |
Remarks
This property is intended to prevent the Office Assistant balloon from overlapping custom dialog boxes and wizards.
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.
| Visual Basic for Applications |
|---|
|
Note