Gets or sets a MsoButtonSetType constant that represents the type of button displayed at the bottom of 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.Button

expression A variable that represents a Balloon object.

Remarks

When you create a Balloon object, this property is initially set to msoButtonSetOK.

Example

This example displays a balloon that contains a heading, text, three region choices, and two command buttons (OK and Cancel).

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 .Button = msoButtonSetOkCancel .Show End With
button button property display button type at bottom edge of office assistant ofv select button types used by office assistant set the type of button display at bottom of office assistant balloon

See also: