Does anyone have an idea on how to include or enter page numbers in an excel sheet generated using C # code.
I use the libraries available in Microsoft.Office.Interop.Excel to create the file.
However, by default, I do not see page numbers on the output. I know to enable this through
excel options (View -> Header and Footer ...), but I want to automate this through C #.
Is it possible, if so, to kindly share a fragment for him.
Thank you regular student
source
share