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