Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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
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.