Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.Windows Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a DocumentWindows collection that represents all open document windows. Read-only.

Syntax

expression. Windows

expression A variable that represents an Application object.

Return Value

DocumentWindows

Example

This example closes all windows except the active window.

With Application.Windows

    For i = .Count To 2 Step -1

        .Item(i).Close

    Next

End With

See also

Concepts

Application Object

© 2018 Microsoft