Windows Property

Applies To

Application object, Presentation object.

Description

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

Presentation object: Returns a DocumentWindows collection that represents all document windows associated with the specified presentation. This property doesn't return any slide show windows associated with the presentation. Read-only.

Example

This example closes all windows except the active window.

With Application.Windows
    For i = 2 To .Count
        .Item(2).Close
    Next
End With