Represents a label in the Office Assistant balloon. The BalloonLabel object is a member of the BalloonLabels collection.

Note
The Microsoft Office Assistant and AnswerWizard have been depreciated in the release of the Microsoft Office system.

Remarks

Use Labels(index), whereis a number from 1 through 5, to return a BalloonLabelobject. There can be up to five labels on one balloon; each label appears when a value is assisgned to its Textproperty.

Balloon check boxes display the user's choices until he or she dismisses the balloon. You can use balloon labels to return a number corresponding to the user's choice in the Select method as soon as the user clicks the button beside the label. To pass values to the Select method based on the user's choice, you must have the balloon type be set to msoBalloonTypeButtons.

Example
The following example creates a balloon that asks the user to click the label corresponding to his or her age.

Visual Basic for Applications
With Assistant.NewBalloon .Heading = "Check Your Age Group." .Labels(1).Text = "Under 30." .Labels(2).Text = "30 to 50." .Labels(3).Text = "Over 50." .Text = "Which of the following " _ & .Labels.Count & " choices apply to you?" .Show End With
Balloon Label Object BalloonLabel balloonlabel object display label with index ofv use a label in the office assistant balloon use labels with an index between one and five view collection of labels for specific office assistant balloon

See also:

index