Slide Members (PowerPoint)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a slide. The Slides collection contains all the Slide objects in a presentation.

Methods

Name

Description

ApplyTemplate

Applies a design template to the specified slide.

ApplyTemplate2

Applies a design template and theme variant to the slide.

ApplyTheme

Applies a theme or design template to the specified slide.

ApplyThemeColorScheme

Applies a color scheme to the specified slide.

Copy

Copies the specified object to the Clipboard.

Cut

Deletes the specified object and places it on the Clipboard.

Delete

Deletes the specified Slide object.

Duplicate

Creates a duplicate of the specified Slide object, adds the new slide to the Slides collection immediately after the slide specified originally, and then returns a Slide object that represents the duplicate slide.

Export

Exports a slide, using the specified graphics filter, and saves the exported file under the specified file name.

MoveTo

Moves the specified object to a specific location within the same collection, renumbering all other items in the collection appropriately.

MoveToSectionStart

Moves the current slide to the start of the specified section.

PublishSlides

Publishes the specified slide to the specified location.

Select

Selects the specified object.

Properties

Name

Description

Application

Returns an Application object that represents the creator of the specified object.

Background

Returns a ShapeRange object that represents the slide background.

BackgroundStyle

Sets or returns the background style of the specified object. Read/write.

ColorScheme

Returns or sets the ColorScheme object that represents the scheme colors for the specified slide, slide range, or slide master. Read/write.

Comments

Returns a Comments object that represents a collection of comments. Read-only.

CustomerData

Returns a CustomerData object. Read-only.

CustomLayout

Returns a CustomLayout object that represents the custom layout associated with the specified slide. Read-only.

Design

Returns a Design object representing a design.

DisplayMasterShapes

Determines whether the specified slide displays the background objects on the slide master. Read/write.

FollowMasterBackground

Determines whether the slide follows the slide master background. Read/write.

HasNotesPage

Indicates whether the selected Slide has media that resides on a notes page. Read-only.

HeadersFooters

Returns a HeadersFooters collection that represents the header, footer, date and time, and slide number associated with the slide, slide master, or range of slides. Read-only.

Hyperlinks

Returns a Hyperlinks collection that represents all the hyperlinks on the specified slide. Read-only.

Layout

Returns or sets a PpSlideLayout constant that represents the slide layout. Read/write.

Master

Returns a Master object that represents the slide master. Read-only.

Name

When a slide is inserted into a presentation, Microsoft PowerPoint automatically assigns it a name in the form Sliden, where n is an integer that represents the order in which the slide was created in the presentation. For example, the first slide inserted into a presentation is automatically named Slide1. If you copy a slide from one presentation to another, the slide loses the name it had in the first presentation and is automatically assigned a new name in the second presentation. A slide range must contain exactly one slide. Read/write String.

NotesPage

Returns a SlideRange object that represents the notes pages for the specified slide or range of slides. Read-only.

Parent

Returns the parent object for the specified object.

PrintSteps

Returns the number of slides you'd need to print to simulate the builds on the specified slide, slide master, or range of slides. Read-only.

sectionIndex

Returns the index of the selected section in the Slide range. Read-only.

Shapes

Returns a Shapes collection that represents all the elements that have been placed or inserted on the specified slide, slide master, or range of slides. Read-only.

SlideID

Returns a unique ID number for the specified slide. Read-only.

SlideIndex

Returns the index number of the specified slide within the Slides collection. Read-only.

SlideNumber

Returns the slide number. Read-only.

SlideShowTransition

Returns a SlideShowTransition object that represents the special effects for the specified slide transition. Read-only.

Tags

Returns a Tags object that represents the tags for the specified object. Read-only.

ThemeColorScheme

Returns a ThemeColorScheme object that represents the color scheme associated with the specified slide. Read-only.

TimeLine

Returns a TimeLine object that represents the animation timeline for the slide. Read-only.