Activate Method

Applies To

Application object, DocumentWindow object, OLEFormat object, SlideShowWindow object.

Description

Activates the specified object.

Syntax

expression.Activate

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

See Also

Active property, ActivePresentation property, ActiveWindow property, Visible property.

Example

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

Windows(2).Activate