Share via


Activate Method

Activates the specified object.

expression**.Activate**

*expression   * Required. An expression that returns a DocumentWindow, Pane, OLEFormat, Application, or SlideShowWindow object.

Example

This example activates the document window immediately following the active window in the document window order.

Windows(2).Activate

Applies to | Application Object | DocumentWindow Object | OLEFormat Object | Pane Object | SlideShowWindow Object

See Also | Active Property | ActivePane Property | ActivePresentation Property | ActiveWindow Property | Visible Property | Working with Panes and Views