Display page numbers in a excel sheet generated using C#.NET
Posted
by constant learner
on Stack Overflow
See other posts from Stack Overflow
or by constant learner
Published on 2010-03-23T11:31:28Z
Indexed on
2010/03/23
11:33 UTC
Read the original article
Hit count: 463
Hello Stackers
Does anyone have an idea on how to include or input the page numbers in the excel sheet generated using C# code.
I use the libraries available in Microsoft.Office.Interop.Excel to generate the file.
However by default in the output i cannot see the page numbers. I know to enable this via
excel options (View --> Header and Footer ...) but i want to automate this via C#.
Is this possible, if yes kindly share the snippet for the same.
Thanks Constant Learner
© Stack Overflow or respective owner