Balloon Object
Office Developer Reference |
Represents the balloon where the Office Assistant displays information. A balloon can contain controls such as check boxes and labels.
Note |
---|
The Microsoft Office Assistant and Balloon object have been deprecated in the 2007 release of the Microsoft Office system. |
Remarks
Use the NewBalloon property to return a Balloon object. There isn't a collection for the Balloon object; only one balloon can be visible at a time. However, it's possible to define several balloons and display any one of them when needed. Use the Show method to make the specified balloon visible. Use the Callback property to run procedures based on selections from modeless balloons (balloons that remain visible while a user works in the application). Use the Close method to close modeless balloons.
Example
The following example creates a balloon that contains tips for saving entered data.
Visual Basic for Applications |
---|
|
You can reuse balloon objects you've already created by assigning the object to a variable and displaying the variable when you need it. This example defines balloon1 and balloon2 separately so that they can be reused.
Visual Basic for Applications |
---|
|
Note |
---|
Alternatively, instead of using separate variables, you can place the Balloon object into an array. |
See Also