Applies To
PageSetup Object, Trendline Object.
Description
PageSetup object: Returns or sets the order that Microsoft Excel uses to number pages when printing a large worksheet (either xlDownThenOver or xlOverThenDown). Read-write.
Trendline object: Returns or sets the trendline order (an integer greater than one) when the trendline Type is xlPolynomial. Read-write.
Remarks
For the PageSetup object, this property applies only to worksheets.
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