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)

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.