PageSetup.FirstPageNumber Property (Excel)

Returns or sets the first page number that will be used when this sheet is printed. If xlAutomatic , Microsoft Excel chooses the first page number. The default is xlAutomatic . Read/write Long .

Syntax

expression. FirstPageNumber

expression A variable that represents a PageSetup object.

Example

This example sets the first page number of Sheet1 to 100.

Worksheets("Sheet1").PageSetup.FirstPageNumber = 100

See also

PageSetup Object