NamedSlideShows.Add method (PowerPoint)
Creates a new named slide show and adds it to the collection of named slide shows in the specified presentation. Returns a NamedSlideShow object that represents the new named slide show.
expression.Add (Name, SafeArrayOfSlideIDs)
expression A variable that represents a NamedSlideShows object.
|Name||Required||String||The name of the slide show.|
|safeArrayOfSlideIDs||Required||Variant||Contains the unique slide IDs of the slides to be displayed in a slide show.|
The name you specify when you add a named slide show is the name you use as an argument to the Run method to run the named slide show.
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.