Partager via


AnimationSettings.Animate Property (PowerPoint)

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

Syntax

expression .Animate

expression A variable that represents an AnimationSettings object.

Return Value

MsoTriState

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.

The value of the Animate property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The specified shape is not animated during a slide show.

msoTrue

The specified shape is animated during a slide show.

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

See Also

Concepts

AnimationSettings Object Members

AnimationSettings Object