Order Property [Excel 2003 VBA Language Reference]
Order property as it applies to the PageSetup object.
XlOrder
XlOrder can be one of these XlOrder constants. |
xlDownThenOver |
xlOverThenDown |
expression.Order
expression Required. An expression that returns one of the above objects.
Order property as it applies to the Trendline object.
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
Applies to | PageSetup Object | Trendline Object