Gets or sets a MsoModeType that represents the modal behavior 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.Mode

expression A variable that represents a Balloon object.

Example

This example creates a balloon with an alert icon that instructs the user to select a printer. Because the balloon is modeless, the user has access to printer commands while the balloon is visible. When the user clicks the OK button, the procedure specified in the Callback property is run.

Visual Basic for Applications
With Assistant.NewBalloon .Heading = "Select A Printer" .Text = "You must select a printer before printing." .Icon = msoIconAlert .CheckBoxes(1).Text = "Local printer" .CheckBoxes(2).Text = "Network printer" .Mode = msoModeModeless .Callback = "ProcessPrinter" .Show End With
mode mode property ofv return type of balloon display set the type of balloon to be displayed view different balloon types for display

See also: