Application.ActiveWindow Property

PowerPoint Developer Reference

Returns a DocumentWindow object that represents the active document window. Read-only.

Syntax

expression.ActiveWindow

expression   A variable that represents an Application object.

Return Value
DocumentWindow

Example

This example minimizes the active window.

Visual Basic for Applications
  Application.ActiveWindow.WindowState = ppWindowMinimized

See Also