AdvanceMode Property

Applies To

AnimationSettings object, SlideShowSettings object, SlideShowView object.

Description

AnimationSettings object: Returns or sets a value that indicates whether the specified shape animation advances only when clicked or automatically after a specified amount of time. Can be one of the following PpAdvanceMode constants: ppAdvanceModeMixed, ppAdvanceOnClick, or ppAdvanceOnTime. If your shape doesn't become animated, make sure that the TextLevelEffect property is set to a value other than ppAnimateLevelNone and that the Animate property is set to True. Read/write Long.

SlideShowSettings object: Returns or sets a value that indicates how the slide show advances. Can be one of the following PpSlideShowAdvanceMode constants: ppSlideShowManualAdvance, ppSlideShowRehearseNewTimings, or ppSlideShowUseSlideTimings. Read/write Long.

SlideShowView object: Returns a value that indicates how the slide show in the specified view advances. Can be one of the following PpSlideShowAdvanceMode constants: ppSlideShowManualAdvance, ppSlideShowRehearseNewTimings, or ppSlideShowUseSlideTimings. Read-only Long.

See Also

AdvanceOnTime property, AdvanceTime property.

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