Occurs when an explorer or inspector becomes the active window, either as a result of user action or through program code. This event is not available in VBScript.
Syntax
Sub object_Activate()
object An expression that evaluates to an Explorer or Inspector object.