SectionProperties.Delete (PowerPoint)

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

If the presentation contains more than one section, you cannot delete the first section without deleting all of the slides in that section.

Syntax : expression.Delete (sectionIndex, deleteSlides)

Dim lngsectionIndex As Long: lngsectionIndex = 
ActivePresentation.SectionProperties.Delete sectionIndex:=lngsectionIndex, deleteSlides:=True

Arguments

The following arguments are required:

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

deleteSlides (Boolean) - Whether to delete all the slides in the section. True, to delete all the slides within the section; False not to delete them.