Partager via


PageSetup.FirstPageNumber Property

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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property FirstPageNumber As Integer
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Integer

value = instance.FirstPageNumber

instance.FirstPageNumber = value
int FirstPageNumber { get; set; }

Property Value

Type: System.Int32

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace