Icon Property

Applies To

Balloon object.

Description

Returns or sets the type of icon that appears in the upper-left portion of the Office Assistant balloon. Can be one of the following MsoIconType constants: msoIconAlert, msoIconNone, or msoIconTip. Read/write String.

Example

This example creates a balloon with an alert icon that instructs the user to select a printer.

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"
    .Show
End With