Arrange Method

Applies To

DocumentWindows collection object.

Description

Arranges all open document windows in the workspace.

Syntax

expression.Arrange(ArrangeStyle)

expression An expression that returns a DocumentWindows collection.

ArrangeStyle Optional Long. Specifies whether to cascade or tile the windows. Can be either of the following PpArrangeStyle constants: ppArrangeCascade, or ppArrangeTiled. The default value is ppTiled.

Example

This example creates a new window and then arranges all open document windows.

Application.ActiveWindow.NewWindow
Windows.Arrange ppArrangeCascade