RightFooter Property
Applies To
PageSetup object.
Description
Returns or sets the right part of the footer. Read/write String. For more information, see Formatting Codes for Headers and Footers.
Remarks
Special format codes can be used in the footer text.
Example
This example prints the page number in the lower-right corner of every page.
Worksheets("Sheet1").PageSetup.RightFooter = "&P"
See Also
CenterFooter property, CenterHeader property, LeftFooter property, LeftHeader property, RightHeader property.
Example
This example prints the page number in the lower-right corner of every page.
Worksheets("Sheet1").PageSetup.RightFooter = "&P"