Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.