Assistant Property

Microsoft Word Visual Basic

Assistant Property

       

Returns an Assistant object that represents the Microsoft Office Assistant.

expression.Assistant

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example displays the Office Assistant.

Assistant.Visible = True

This example displays the Office Assistant and moves it to the upper-left region of the screen.

With Assistant
    .Visible = True
    .Move xLeft:=100, yTop:=100
End With

This example displays the Office Assistant with a custom message in a balloon.

With Assistant
    .Visible = True
    Set bln = .NewBalloon
    With bln
        .Mode = msoModeAutoDown
        .Text = "Hello"
        .Button = msoButtonSetNone
        .Show
    End With
End With