Share via


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

Concepts

DocumentWindow Object Members

DocumentWindow Object