Active Property

Active returns the active state of the window. It has a Boolean value. The value is 'True' if the specified window is the active window. The value is 'False' if the window is not currently the active window. This is a read-only property.

Use the Activate property to activate an inactive window.

Syntax

object.Active

Example 1

This example demonstrates how to return whether or not the specified plot window is the active window.

Debug .Print Plotwindow.Active

Example 2

This script displays all the methods and properties in the Window object.

Used by: Window object