Presentation.Slides property (PowerPoint)

Returns a Slides collection that represents all slides in the specified presentation. Read-only.

Syntax

expression. Slides

expression A variable that represents a PlaySettings object.

Return value

Slides

Example

This example adds a slide to the active presentation.

Application.ActivePresentation.Slides.Add 1, ppLayoutTitle

See also

Presentation Object

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.