Applies To
PageSetup Object.
Description
Returns or sets the right part of the header. Read-write.
Remarks
Special format codes can be used in the header text.
See Also
CenterFooter Property, CenterHeader Property, LeftFooter Property, LeftHeader Property, RightFooter Property.
Example
This example prints the filename in the upper-right corner of every page.
Worksheets("Sheet1").PageSetup.RightHeader = "&F"