Partager via


AnimationSettings.AdvanceTime Property (PowerPoint)

Returns or sets the amount of time, in seconds, after which the specified shape will become animated. Read/write.

Syntax

expression .AdvanceTime

expression A variable that represents an AnimationSettings object.

Return Value

Single

Remarks

The specified slide animation won't start automatically after the amount of time you've specified unless the AdvanceMode property of the animation is set to ppAdvanceOnTime.

Example

This example sets shape two on slide one in the active presentation to become animated automatically after five seconds.

With ActivePresentation.Slides(1).Shapes(2).AnimationSettings

    .AdvanceMode = ppAdvanceOnTime

    .AdvanceTime = 5

    .TextLevelEffect = ppAnimateByAllLevels

    .Animate = True

End With

See Also

Concepts

AnimationSettings Object

AnimationSettings Object Members