Compartilhar via


Global.Assistant Property

Word Developer Reference

Returns an Assistant object that represents the Microsoft Office Assistant.

Syntax

expression.Assistant

expression   Required. A variable that represents a Global object.

Example

This example displays the Office Assistant.

Visual Basic for Applications
  
    Assistant.Visible = True

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

Visual Basic for Applications
  With Assistant
    .Visible = True
    .Move xLeft:=100, yTop:=100
End With

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

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

See Also