Application.ActiveWindow property (PowerPoint)

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.

Application.ActiveWindow.WindowState = ppWindowMinimized

See also

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.