We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Dynamic headers

Hi ,

Could you give me an example showing how to set dynamic headers for different pages while printing. My worksheet has 5 pages and I want to change the header by a variable-customer id. Could you help me with this.

Thanks in advance!

Hi Spoorthi,

Thanks for your posting and using Aspose.Cells.

Do you want to change Header & Footers of Excel file dynamically? Please provide us your expected output Excel file which you want to achieve with Aspose.Cells API for our reference. You can created expected output Excel file manually using MS-Excel and attach it here.

It will help us look into your requirements precisely and we will update you with a sample code.