The WindowActivated event signals that a window has just been activated.
Element
Description
Event
WindowActivated
A window has just been activated.
Parameters
[out] Window ** Worksheet The window that has just been activated.