SlideShowTransition.AdvanceOnClick property (PowerPoint)

Determines whether the specified slide advances when it is clicked during a slide show. Read/write.


expression. AdvanceOnClick

expression A variable that represents an SlideShowTransition object.

Return value



To set the slide to advance automatically after a certain amount of time elapses, set the AdvanceOnTime property to True and set the AdvanceTime property to the amount of time you want the slide to be shown. If you set both the AdvanceOnClick and the AdvanceOnTime properties to True, the slide advances either when it is clicked or when the specified amount of time has elapsed—whichever comes first.

The value of the AdvanceOnClick property can be one of these MsoTriState constants.

Constant Description
msoFalse The specified slide does not advance when it is clicked during a slide show.
msoTrue The specified slide advances when it is clicked during a slide show.


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.