Share via


Pane.Activate Method (Word)

Activates the specified pane.

Syntax

expression .Activate

expression Required. A variable that represents a Pane object.

Example

This example splits the active window and then activates the first pane.

Sub SplitWindow() 
 With ActiveDocument.ActiveWindow 
 .SplitVertical = 50 
 .Panes(1).Activate 
 End With 
End Sub

See Also

Concepts

Pane Object Members

Pane Object