Export to excel not working

Hello,


I have purchased the Aspose.Cell.
I want to export updated excel file to pdf & excel.
I am able to export edited excel file to pdf but its not working for excel.
I have created demo application so could you please review my code and tell me the solution.
Please check attachment for demo application code.

Best Regards,
Yogesh Mahajan.

Hi Yogesh,

Thanks for your posting and using Aspose.Cells.

Please add the following line of code in your project and it will fix your issue.

filePdfStream.Position = 0;

Please see the screenshot for your reference. Let us know if you still face any issue, we will look into it and help you asap.