PageSetup.Order property (Excel)
Returns or sets an XlOrder value that represents the order that Microsoft Excel uses to number pages when printing a large worksheet.
Syntax
expression.Order
expression A variable that represents a PageSetup object.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.