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

Free Support Forum - aspose.com

Attempt to divide by zero exception when trying to save in Pdf format

I am using a template to generate excel and pdf files. When I tried to save the file in pdf format it gives “Attempt to divide by zero” exception. However the same file, with the same data gets opened in the excel format.

Thanks
Deepali

Hi Deepali,

Could you try the attached version if it works fine.

If you still find the issue, kindly post your template excel file here, we will check it soon.

Thank you.

Thanks for the dll. Now this exception is not coming.

But I am facing one more issue. My templates consist of many sheets and lets say A sheet pulls data from B sheet. When I am generating a pdf file then some code is visible in pdf format whereas this is not the case with the .xls format.

Please have a look at the attachement for clarification.

Thanks,
Deepali

Hi Deepali,

Do you use Smart Markers in the template files? Could you post your template excel file and generated pdf file with all the details here to show the issue. We will check it soon.

Thank you.