.NET Excel Interop - Why aren't my Footers displaying in my printed output file?

Posted by Ryan on Stack Overflow See other posts from Stack Overflow or by Ryan
Published on 2010-04-09T20:08:50Z Indexed on 2010/04/09 20:13 UTC
Read the original article Hit count: 308

Filed under:
|
|

I'm working with C# and Office 2007's Excel Interop API. I'm opening an Excel file, applying some formatting and then sending it to the printer.

I've got a problem, though. The Footer text doesn't appear to be printing. If I check the PageSetup.RightFooter property, I can see the expected Page Number in the Footer. That Page Number doesn't appear anywhere on the printed output sheet.

When I print using Excel, though, they appear.

Does anyone know why my Footer text is not appearing? Here's my code.

Pastebin of my C# code

© Stack Overflow or respective owner

Related posts about excel

Related posts about interop