The Active property returns the active state of the window. Returns a Boolean. This is a read-only property.
Syntax
object.Active
Example
This example demonstrates how to return whether or not the specified map window is the active window.
Debug.Print Plotwindow.Active
Used by: Window object