Application.WindowActivate Event
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. |