Assistant Property
Some of the content in this topic may not be applicable to some languages.
Returns an Assistant object that represents the Microsoft Office Assistant. Read-only.
expression.Assistant
expression Required. An expression that returns an Application object.
Example
The following example returns a reference to the Microsoft Office Assistant and modifies its properties. The subroutine displays the Assistant on the screen, turns animation sounds on, and sets the MoveWhenInTheWay property to True. The Assistant will now move to another location on the screen if it is in the user's way.
Sub fpAsst()
'Creates a reference to the Office Assistant and modifies its properties
Dim objApp As FrontPage.Application
Dim objAsst As Assistant
Set objApp = FrontPage.Application
'Return a reference to the Office Assistant
Set objAsst = objApp.Assistant
With objAsst
'Make assistant visible
.Visible = True
'Allow sounds during animations
.Sounds = True
'Move the Assistant out of the way when needed
.MoveWhenInTheWay = True
End With
End Sub