Balloon.Heading Property
Gets or sets the heading that appears in the Office Assistant balloon. Read/write.
Note
|
|---|
| The Microsoft Office Assistant and AnswerWizard have been depreciated in the release of the Microsoft Office system. |
Syntax
expression.Heading
expression A variable that represents a Balloon object.
Remarks
You can specify a graphic to be displayed in the balloon heading by using the following syntax: {}, where is bmp (bitmap) or wmf (Windows metafile), is the resource ID or the path and file name, and specifies the width of the wmf (omitted for bmp).
The balloon heading also supports underlined text and text that has one of the 16 system palette colors applied to it. To display underlined text in a heading, use the syntax {} or {}; use {} to turn underlining off. To change the color of heading text, precede the text string with the character sequence {}}, where is one of the system color numbers listed in the following table.
| System color number | Color |
|---|---|
| 0 | Black |
| 1 | Dark red |
| 2 | Dark green |
| 3 | Dark yellow |
| 4 | Dark blue |
| 5 | Dark magenta |
| 6 | Dark cyan |
| 7 | Light gray |
| 248 | Medium gray |
| 249 | Red |
| 250 | Green |
| 251 | Yellow |
| 252 | Blue |
| 253 | Magenta |
| 254 | Cyan |
| 255 | White |
If you specify a number other than one of the preceding system color numbers, the heading text is black.
Example
This example displays a balloon with a heading, text, and three region choices.
| Visual Basic for Applications |
|---|
|
See also:
- Balloon Object
- Balloon Object Members
- Creating and Modifying Balloons
- Overview of the Office Assistant
| type location sizing_factor | type | location | sizing_factor | ul | ul 1 | ul 0 | cf number | number |
Note