This documentation is archived and is not being maintained.

Order Property [Excel 2003 VBA Language Reference]

Office 2003

XlOrder can be one of these XlOrder constants.
xlDownThenOver
xlOverThenDown

expression.Order

expression Required. An expression that returns one of the above objects.

Returns or sets the trendline order (an integer greater than 1) when the trendline type is xlPolynomial. Read/write Long.

expression.Order

expression Required. An expression that returns one of the above objects.

Example

This example breaks Sheet1 into pages when the worksheet is printed. Numbering and printing proceed from the first page to the pages to the right, and then move down and continue printing across the sheet.

Worksheets("Sheet1").PageSetup.Order = xlOverThenDown
		




Show: