ActiveWindow Property
Returns a DocumentWindow object that represents the active document window. Read-only.
Example
This example minimizes the active window.
Application.ActiveWindow.WindowState = ppWindowMinimized
Returns a DocumentWindow object that represents the active document window. Read-only.
This example minimizes the active window.
Application.ActiveWindow.WindowState = ppWindowMinimized