Syntax

expression.ActiveWindow

expression A variable that represents an Application object.

Example

This example displays the name (Caption property) of the active window.

Visual Basic for Applications
MsgBox "The name of the active window is " & ActiveWindow.Caption
active window Active Window Property ActiveWindow activewindow property ActiveWindow? Change properties of the active window? Return the active window object?

See also: