Windows Property
TOC
Collapse the table of content
Expand the table of content

Application.Windows Property

Office 2007
Returns a Windows collection that represents all document windows. Read-only.

Syntax

expression.Windows

expression   A variable that represents an Application object.

Remarks

The collection corresponds to the window names that appear at the bottom of the Window menu. For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example arranges all open windows so that they don't overlap.

Visual Basic for Applications
Windows.Arrange ArrangeStyle:=wdTiled



Show:
© 2016 Microsoft