Share via


SlideShowTransition.AdvanceTime Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  With ActivePresentation.Slides(1).SlideShowTransition
    .AdvanceOnClick = msoTrue
    .AdvanceOnTime = msoTrue
    .AdvanceTime = 5
End With

See Also