Table of contents
TOC
Collapse the table of content
Expand the table of content

NamedSlideShows.Add Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData TypeDescription
NameRequiredStringThe name of the slide show.
safeArrayOfSlideIDsRequiredVariantContains 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

Concepts

NamedSlideShows Object

© 2018 Microsoft