Slide.SlideIndex property (PowerPoint)
Returns the index number of the specified slide within the Slides collection. Read-only.
expression A variable that represents a Slide object.
Unlike the SlideID property, the SlideIndex property of a Slide object can change when you add slides to the presentation or rearrange the slides in the presentation. Therefore, using the FindBySlideID method with the slide's ID number can be a more reliable way to return a specific Slide object from a Slides collection than using the Item method with the slide's index number.
This example displays the index number of the currently displayed slide in slide show window one.
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.