Application.Windows Property

Word Developer Reference

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

See Also