AdvanceTime Property

Microsoft PowerPoint Visual Basic

ShowAs it applies to the AnimationSettings object.

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

ShowAs it applies to the SlideShowTransition object.

Returns or sets the amount of time, in seconds, after which the specified slide transition will occur. Read/write 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. The specified slide transition won't advance automatically unless the AdvanceMode property of the slide show settings is set to ppSlideShowUseSlideTimings.

Example

ShowAs it applies to the AnimationSettings object.

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