Animate Property

Microsoft PowerPoint Visual Basic

Determines whether the specified shape is animated during a slide show. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue The specified shape is animated during a slide show.

expression.Animate

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

For a shape to be animated, the TextLevelEffect property of the AnimationSettings object for the shape must be set to something other than ppAnimateLevelNone, and either the Animate property must be set to True, or the EntryEffect property must be set to a constant other than ppEffectNone.

Example

This example specifies that the title on slide two in the active presentation appear dimmed after the title is built. If the title is the last or only shape to be built on slide two, the text won't be dimmed.

With ActivePresentation.Slides(2).Shapes.Title.AnimationSettings
    .TextLevelEffect = ppAnimateByAllLevels
    .AfterEffect = ppAfterEffectDim
    .Animate = msoTrue
End With