Provides access to the document's header and footer and contains options for displaying and printing them.
The WorksheetHeaderFooterOptions instance is accessible by using the Worksheet.HeaderFooterOptions property.
The following code inserts the workbook path, the name of the worksheet and the page indicator in the footer.