SectionProperties.Rename (PowerPoint)

Renames the specified section with the specified name.

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

Syntax : expression.Rename (sectionIndex, sectionName)

Dim lngsectionIndex As Long: lngsectionIndex = 
Dim strsectionName As String: strsectionName = 
ActivePresentation.SectionProperties.Rename sectionIndex:=lngsectionIndex, sectionName:=strsectionName


The following arguments are required:

sectionIndex (Long) - The index of the section to rename.

sectionName (String) - The new name of the section.