SlideShowTransition.AdvanceTime property (PowerPoint)
Returns or sets the amount of time, in seconds, after which the specified slide transition will occur. Read/write.
expression A variable that represents a SlideShowTransition object.
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
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.