Gets a BalloonLabels collection that represents the button labels, number labels, and bullet labels contained in the specified Office Assistant balloon. Read-only.

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

Syntax

expression.Labels

expression A variable that represents a Balloon object.

Example

This example creates a balloon containing three choices. The variableis set to the return value of the Showmethod, which will be 1, 2 or 3, depending on the label the user clicks. In the example, a message box displays the value of the variable, but you can pass the value to another procedure or you can use the value in a Select Casestatement.

Visual Basic for Applications
Set b = Assistant.NewBalloon With b .Heading = "This is my heading" .Text = "Select one of these things:" .Labels(1).Text = "Choice One" .Labels(2).Text = "Choice Two" .Labels(3).Text = "Choice Three" x = .Show End With MsgBox x
display all label buttons within a specific office assistant balloon Labels labels property ofv see collection of office assistant button labels view all button labels within the office assistant balloon

See also:

x x