Animation Property

Applies To

Assistant object, Balloon object.

Description

Returns or sets the animation action for the Office Assistant. When this property is applied to the Assistant object, the Assistant is animated immediately (if the Assistant is visible). When this property is applied to the Balloon object, the Assistant is animated only while the balloon is displayed. Read/write Long.

Can be one of the following MsoAnimationType constants:

  • msoAnimationAppear
  • msoAnimationBeginSpeaking
  • msoAnimationCharacterSuccessMajor
  • msoAnimationCheckingSomething
  • msoAnimationDisappear
  • msoAnimationEmptyTrash
  • msoAnimationGestureDown
  • msoAnimationGestureLeft
  • msoAnimationGestureRight
  • msoAnimationGestureUp
  • msoAnimationGetArtsy
  • msoAnimationGetAttentionMajor
  • msoAnimationGetAttentionMinor
  • msoAnimationGetTechy
  • msoAnimationGetWizardy
  • msoAnimationGoodbye
  • msoAnimationGreeting
  • msoAnimationIdle
  • msoAnimationListensToComputer
  • msoAnimationLookDown
  • msoAnimationLookDownLeft
  • msoAnimationLookDownRight
  • msoAnimationLookLeft
  • msoAnimationLookRight
  • msoAnimationLookUp
  • msoAnimationLookUpLeft
  • msoAnimationLookUpRight
  • msoAnimationPrinting
  • msoAnimationSaving
  • msoAnimationSearching
  • msoAnimationSendingMail
  • msoAnimationThinking
  • msoAnimationWorkingAtSomething
  • msoAnimationWritingNotingSomething

Remarks

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 any obvious animation. However, all MsoAnimationType constants are valid for all Assistants.

The following MsoAnimationType constants represent animations that repeat the specified action until the Assistant is dismissed, or until the Animation property is reset with another animation.

  • msoAnimationCheckingSomething
  • msoAnimationGetArtsy
  • msoAnimationGetTechy
  • msoAnimationSaving
  • msoAnimationSearching
  • msoAnimationThinking
  • msoAnimationWorkingAtSomething
  • msoAnimationWritingNotingSomething

See Also

Assistant object, FileName property, Visible property.

Example

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

With Assistant
    .Reduced = True
    .Move xLeft:= 400, yTop:= 300
    .MoveWhenInTheWay = True
    .TipOfDay = True
    .Visible = True
    .Animation = msoAnimationGreeting
End With