Shape.AnimationSettings Property

PowerPoint Developer Reference

Returns an AnimationSettings object that represents all the special effects you can apply to the animation of the specified shape. Read-only.

Syntax

expression.AnimationSettings

expression   A variable that represents a Shape object.

Return Value
AnimationSettings

Example

This example sets shape one on slide two in the active presentation to fly in from the left when the slide is built.

Visual Basic for Applications
  With ActivePresentation.Slides(2).Shapes(1).AnimationSettings
    .EntryEffect = ppEffectFlyFromLeft
    .TextLevelEffect = ppAnimateByAllLevels
End With

See Also