tags:

views:

17

answers:

0

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