Skip to content

Latest commit

 

History

History
54 lines (30 loc) · 926 Bytes

PowerPoint.Application.Windows.md

File metadata and controls

54 lines (30 loc) · 926 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.Windows property (PowerPoint)
vbapp10.chm503009
vbapp10.chm503009
PowerPoint.Application.Windows
c6d001c6-b589-47bc-bf6a-d1cf9b277f3d
06/08/2017
medium

Application.Windows property (PowerPoint)

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

Application Object

[!includeSupport and feedback]