Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Pane Object

Office 2007
An object representing one of the three panes in normal view or the single pane of any other view in the document window.

Remarks

Use Panes(index), where index is the index number for a pane, to return a single Pane object. The following table lists the names of the panes in normal view with their corresponding index numbers.

PaneIndex number
Outline1
Slide2
Notes3

When using a document window view other than normal view, use Panes(1) to reference the single Pane object.

Use the Activate method to make the specified pane active.

Use the ViewType property to determine which pane is active.

Normal view is the only view with multiple panes. All other document window views have only a single pane, which is the document window.

Example

The following example uses the ViewType property to determine whether the slide pane is the active pane. If it is, then the Activate method makes the notes pane the active pane.

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



Community Additions

Show:
© 2014 Microsoft