Partager via


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

Concepts

SlideShowTransition Object

SlideShowTransition Object Members