SlideShowView.GetClickIndex method (PowerPoint)

Returns the index number of the current mouse click for an animation that is actively playing on a slide or has just finished.


expression. GetClickIndex

expression A variable that represents a SlideShowView object.

Return value



Use the GetClickCount method to return the number of mouse clicks that are defined for a slide.

If a slide has no animations or if a user has not advanced yet to an animation, the GetClickIndex method returns 0. If a slide has an animation that runs automatically and the user moves to the previous page, the GetClickIndex method returns msoClickStateBeforeAutomaticAnimations.

See also

SlideShowView 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.