Pane.Activate Method
Activates the specified pane.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub Activate
'Usage
Dim instance As Pane
instance.Activate()
void Activate()
Examples
This example splits the active window and then activates the first pane.
Sub SplitWindow()
With ActiveDocument.ActiveWindow
.SplitVertical = 50
.Panes(1).ActivateEnd WithEnd Sub