Gets or sets an animation action for the Office Assistant. Read/write.

Note
The Microsoft Office Assistant and AnswerWizard have been depreciated in the release of the Microsoft Office system.

Syntax

expression.Animation

expression A variable that represents an Assistant object.

Return Value
MsoAnimationType

Remarks

When this property is applied to the Assistant object and the Assistant supports the specified animation, the Assistant is animated immediately (if the Assistant is visible and enabled). When this property is applied to the Balloon object, the Assistant is animated only while the balloon is displayed.

"Clippit" is the default Assistant, and msoAnimationIdle is the default animation type for the Assistant.

Depending on the selected Assistant, setting the Animation property may or may not result in an obvious animation. However, all MsoAnimationType constants are valid for all Assistants. Note that different constants may produce the same animation.

Example
This example displays the Office Assistant in a specific location and sets several options before making the Assistant visible.

Visual Basic for Applications
With Assistant .On = True .Visible = True .Move xLeft:= 400, yTop:= 300 .MoveWhenInTheWay = True .TipOfDay = True .Animation = msoAnimationGreeting End With

See also: