ActiveWindow Property (VBA Add-In Object Model)

Microsoft VBA

ActiveWindow Property

           

Returns the active window in the development environment. Read-only.

Remarks

When more than one window is open in the development environment, the ActiveWindow property setting is the window with the focus. If the main window has the focus, ActiveWindow returns Nothing.