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.