Share via


Application.Assistant Property

Project Developer Reference

Returns an Assistant object representing the Office Assistant. Read-only Object.

Syntax

expression.Assistant

expression   A variable that represents an Application object.

Return Value
[ASSISTANT]

Remarks

For more information, see Assistant Object in the Microsoft Office Visual Basic Reference.

Example
The following example displays a previously selected Assistant and animates it with the associated sound. If your computer doesn't have a sound card installed, this example won't generate an error, but the sound won't be heard.

Visual Basic for Applications
  Sub AnimateAssistant()
    With Assistant
        .Visible = True
        .Sounds = True
        .Animation = msoAnimationGetAttentionMajor
    End With
End Sub

See Also