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 | Workbook | 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.