Syntax
Private Sub Workbook_WindowActivate(ByVal Wn As Window)
Enter
Code
End Sub
This event will run any time this specific
workbook window is activated.
Required Parameters
Wn
The wn parameter returns the activated window
as an object. This parameter returns an
Window Object so users can manipulate the methods and properties of that
specific window.