Share via


Windows.Arrange Method (Word)

Arranges all open document windows in the application workspace.

Syntax

expression .Arrange(ArrangeStyle)

expression A variable that represents a Windows collection.

Parameters

Name

Required/Optional

Data Type

Description

ArrangeStyle

Optional

Variant

The window arrangement. Can be either of the following WdArrangeStyle constants: wdIcons or wdTiled.

Remarks

Because Microsoft Word uses a Single Document Interface (SDI), this method no longer has any effect.

Example

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

Windows.Arrange ArrangeStyle:=wdTiled

This example minimizes all open windows and then arranges the minimized windows.

Dim windowLoop As Window 
 
For Each windowLoop In Windows 
 With windowLoop 
 .Activate 
 .WindowState = wdWindowStateMinimize 
 End With 
Next windowLoop 
 
Windows.Arrange ArrangeStyle:=wdIcons

See Also

Concepts

Windows Collection Object

Windows Object Members