SectionProperties.Rename method (PowerPoint)

Renames the specified section with the specified name.

Syntax

expression. Rename( _sectionIndex_, _sectionName_ )

expression A variable that represents a SectionProperties object.

Parameters

Name Required/Optional Data type Description
sectionIndex Required Integer The index of the section to rename.
sectionName Required String The new name of the section.

Remarks

If sectionName is empty, the section is assigned the default section name.

See also

SectionProperties 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.