This documentation is archived and is not being maintained.

HeaderFooter Interface

Represents a single header or footer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

[GuidAttribute("000244A1-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface HeaderFooter

You can also return a single HeaderFooter object by using the HeaderFooter property with a Selectionobject.

Use the DifferentFirstPageHeaderFooter property with the PageSetupobject to specify a different first page.

Show: