SlideShowTransition.AdvanceTime property (PowerPoint)

Returns or sets the amount of time, in seconds, after which the specified slide transition will occur. Read/write.

Syntax

expression. AdvanceTime

expression A variable that represents a SlideShowTransition object.

Return value

Single

Remarks

To put the slide interval settings into effect for the entire slide show, set the AdvanceMode property of the SlideShowSettings object to ppSlideShowUseSlideTimings.

Example

This example sets slide one in the active presentation to advance after five seconds have passed or when the mouse is clicked — whichever occurs first.

With ActivePresentation.Slides(1).SlideShowTransition

    .AdvanceOnClick = msoTrue

    .AdvanceOnTime = msoTrue

    .AdvanceTime = 5

End With


See also

SlideShowTransition Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.