Add Method (NamedSlideShows Collection Object)

See Also         Example         Applies To

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.

Syntax

expression.Add(Name, SafeArrayOfSlideIDs)

expression   Required. An expression that returns 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.

Remarks

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.