Share via


PageSetup.Order Property

Excel Developer Reference

Returns or sets a 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.

Visual Basic for Applications
  Worksheets("Sheet1").PageSetup.Order = xlOverThenDown

See Also