IsNamedShow Property

Microsoft PowerPoint Visual Basic

IsNamedShow Property

       

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

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue A custom (named) slide show is displayed in the specified slide show view.

Example

If the slide show running in slide show window one is a custom slide show, this example displays its name.

With SlideShowWindows(1).View
    If .IsNamedShow Then
        MsgBox "Now showing in slide show window 1: " _
           & .SlideShowName
    End If
End With