Arrange Method
Applies To
Windows collection object.
Description
Arranges all open document windows in the application workspace.
Syntax
expression.Arrange(ArrangeStyle)
expression An expression that returns a Windows object.
ArrangeStyle Optional Variant. The window arrangement. Can be either of the following WdArrangeStyle constants: wdIcons or wdTiled.
See Also
Activate method, WindowState property.
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.
For Each aWindow In Windows
aWindow.Activate
aWindow.WindowState = wdWindowStateMinimize
Next aWindow
Windows.Arrange ArrangeStyle:=wdIcons