Gets or sets the text displayed next to a check box 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.Text

expression A variable that represents a BalloonCheckbox object.

Return Value
String

Remarks

You can specify that a particular graphic be displayed by using the following syntax: {type location sizing_factor}, where type is bmp (bitmap) or wmf (Windows metafile); location is the resource ID or the path and file name; and sizing_factor denotes the width of the .wmf file (sizing_factor is omitted for .bmp files).

Example

This example creates a new Office Assistant balloon with a heading, text, and three region choices. The example uses the Text property to provide balloon-related instructions to the user and a label for each text box.

Visual Basic for Applications
With Assistant.NewBalloon .Heading = "Regional Sales Data" .Text = "Select a region" For i = 1 To 3 .CheckBoxes(i).Text = "Region " & i Next .Show End With

See also: