FirstPage Property

Applies To

PageSetup object.

Description

Returns or sets the number of the first page in a section that supports headers or footers (or both). Read/write Long.

Remarks

When a binder is first created, this property is set to 1. Use this property if you want to set the number of the first page to something other than 1.

See Also

PrintOut method.

Example

This example prints the first section of Binder1.obd, and it starts the page numbering at 100. The page number will be printed as a right-aligned footer in the first section, if it supports headers or footers (or both).

Set myBinder = GetObject("C:\Binder1.obd", "OfficeBinder.Binder")
With myBinder
If .Sections(1).SupportsBinderHeaderFooter Then
    With .PageSetup
        .FirstPage = 100
        .RightFooter = "&P"
        .PrintWhat = bindPageSetupSelectedSections
    End With
End If
.Close SaveChanges:=True
End With