Pane.Activate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Activates the specified pane.
public:
void Activate();
public void Activate ();
abstract member Activate : unit -> unit
Public Sub Activate ()
Examples
This example splits the active window and then activates the first pane.
<span class="label">Sub SplitWindow()
With ActiveDocument.ActiveWindow
.SplitVertical = 50
.Panes(1).</span>
<span class="label">Activate</span>
<span class="label">End WithEnd Sub</span>