CenterFooter Property

Applies To

PageSetup Object.

Description

Returns or sets the center part of the footer. Read-write.

Remarks

Special format codes can be used in the footer text.

See Also

CenterHeader Property, LeftFooter Property, LeftHeader Property, RightFooter Property, RightHeader Property.

Example

This example prints the workbook name and page number at the bottom of each page.


Worksheets("Sheet1").PageSetup.CenterFooter = "&F page &P"