SectionProperties Methods (PowerPoint)

GitHub-Mark-64px

Contribute to this content

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

Methods

Name

Description

AddBeforeSlide

Adds a section immediately before the specified slide index, and returns the index of the new section.

AddSection

Adds a new section at the specified index position and returns the index of the newly created section.

Delete

Deletes the section break that sets off the specified section, and optionally deletes all the slides in the section.

FirstSlide

Returns the index of the first slide in the specified section, or returns -1 if the section is empty.

Move

Moves the specified section to the specified index position, moving the slides in the section along with the section break.

Name

Returns the name of the specified section as a String.

Rename

Renames the specified section with the specified name.

SectionID

Returns a string that represents the unique identifier of the specified section.

SlidesCount

Returns the number of slides in the specified section.