Application.WindowActivate Event (Excel)

Occurs when any workbook window is activated.

Syntax

expression .WindowActivate(Wb, Wn)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Wb

Required

Window

The workbook displayed in the activated window.

Wn

Required

Window

The activated window.

Remarks

For information about how to use event procedures with the Application object, see Using Events with the Application Object.

See Also

Concepts

Application Object Members

Application Object