Display/Show related procedures in class SlideShowView (PowerPoint VBA)

This page presents procedures from class SlideShowView related to the theme Display/Show: CurrentShowPosition, EndNamedShow, GotoNamedShow, IsNamedShow and SlideShowName

CurrentShowPosition

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

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.

Dim lngCurrentShowPosition As Long
lngCurrentShowPosition = SlideShowWindows(1).View.CurrentShowPosition

EndNamedShow

Switches from running a custom, or named, slide show to running the entire presentation of which the custom show is a subset. When the slide show advances from the current slide, the next slide displayed will be the next one in the entire presentation, not the next one in the custom slide show.

SlideShowWindows(1).View.EndNamedShow

GotoNamedShow

Switches to the specified custom, or named, slide show during another slide show. When the slide show advances from the current slide, the next slide displayed will be the next one in the specified custom slide show, not the next one in current slide show.

Syntax : expression.GotoNamedShow (SlideShowName)

SlideShowName: The name of the custom slide show to be switched to.

Dim strSlideShowName As String: strSlideShowName = "Quick Show" 
SlideShowWindows(1).View.GotoNamedShow SlideShowName:=strSlideShowName

IsNamedShow

Determines whether a custom (named) slide show is displayed in the specified slide show view.

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

Dim mtsIsNamedShow As Office.MsoTriState
mtsIsNamedShow = SlideShowWindows(1).View.IsNamedShow

SlideShowName

Returns the name of the custom slide show that's currently running in the specified slide show view.

Dim strSlideShowName As String
strSlideShowName = SlideShowWindows(1).View.SlideShowName