SlideShowView.CurrentShowPosition property (PowerPoint)

Returns the position of the current slide within the slide show that is showing in the specified view. Read-only.

Syntax

expression. CurrentShowPosition

expression A variable that represents a SlideShowView object.

Return value

Long

Remarks

If the specified view contains a custom show, the CurrentShowPosition property returns the position of the current slide within the custom show, not the position of the current slide within the entire presentation.

Example

This example sets a variable to the position of the current slide in the slide show running in slide show window one.

lastSlideSeen = SlideShowWindows(1).View.CurrentShowPosition

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.