Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NamedSlideShow Object

Office 2007
Represents a custom slide show, which is a named subset of slides in a presentation.

Remarks

The NamedSlideShow object is a member of the NamedSlideShows collection. The NamedSlideShows collection contains all the named slide shows in the presentation.

Example

Use NamedSlideShows(index), where index is the custom slide show name or index number, to return a single NamedSlideShow object. The following example deletes the custom slide show named "Quick Show."

Visual Basic for Applications
ActivePresentation.SlideShowSettings _
    .NamedSlideShows("Quick Show").Delete

Use the SlideIDs property to return an array that contains the unique slide IDs for all the slides in the specified custom show. The following example displays the slide IDs for the slides in the custom slide show named "Quick Show."

Visual Basic for Applications
idArray = ActivePresentation.SlideShowSettings _
    .NamedSlideShows("Quick Show").SlideIDs
For i = 1 To UBound(idArray)
    MsgBox idArray(i)
Next



Community Additions

Show:
© 2015 Microsoft