NamedSlideShows.Add Method
PowerPoint Developer Reference |
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 A variable that represents a NamedSlideShows object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
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. |
Return Value
NamedSlideShow
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.
See Also