DocumentWindow.ActivePane Property

PowerPoint Developer Reference

Returns a Pane object that represents the active pane in the document window. Read-only.

Syntax

expression.ActivePane

expression   A variable that represents an DocumentWindow object.

Return Value
Pane

Example

If the active pane is the slide pane, this example makes the notes pane the active pane. The notes pane is the third member of the Panes collection.

Visual Basic for Applications
  With ActiveWindow
    If .ActivePane.ViewType = ppViewSlide Then
        .Panes(3).Activate
    End If
End With

See Also