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

Free Support Forum - aspose.com

Wrong page number when converting xls to pdf


I have found difficulties in generating pdf document using aspose.cells.

The issue can be seen in the atached file.

In case the workbook is saved as xls pagenumber is correct. But in case of pdf the last page number in footer is wrong.

I believe this depends on horizontal page breaks.

Thank you in advance.


Hi Nick,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.

I tested your scenario a bit with the latest version of Aspose.Cells and was unable to reproduce the issue. Please download and try the latest version of Aspose.Cells from the following location and see if it works fine for you.


If you still face any problem, please share your template file and sample code here and we will check it soon.

Thank You & Best Regards,