DocumentWindow.ExpandSection (PowerPoint)

Expands the section in the current DocumentWindow.

Syntax : expression.ExpandSection (sectionIndex, Expand)

Dim lngsectionIndex As Long: lngsectionIndex = 
ActiveWindow.ExpandSection sectionIndex:=lngsectionIndex, Expand:=True

Arguments

The following arguments are required:

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

Expand (Boolean) - Indicates whether the section was expanded.