This article provides sample code that shows how to programmatically set various headers and footers of Excel worksheet Page Setup settings using the C# Library and .NET API. You can set the headers and footers for the first Page, odd Pages and even Pages....Headers and Footers For Different Pages Contents [ Hide ] MS Excel supports...footers for the first page, odd pages and even pages since Excel 2007...