DocumentWindow.ActivePane property (PowerPoint)

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.

With ActiveWindow

    If .ActivePane.ViewType = ppViewSlide Then

        .Panes(3).Activate

    End If

End With

See also

DocumentWindow Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.