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

Free Support Forum - aspose.com

Open and save pivot template file - Object reference not set to an instance

Hi,

I´m using the attached excel file as pivot template file. Normally I open this file, change the content of the ‘source’ sheet and save it.Currently the error ‘Object reference not set to an instance of an object.’ occurres if I try to save the workbook. With other template files it is working.
With following code you can reproduce it:

Workbook workbook = new Workbook(@“c:\temp\template.xls”);
workbook.Save(@“c:\temp\test.xls”, SaveFormat.Excel97To2003);

I´m using the version 5.1.4.1

Thank you and best regards

Hi,

I have found your mentioned issue using your file. I have logged your issue into our issue tracking system with an id: CELLSNET-21096. We will figure it out soon.

Thank you.

Hi,

Please try the attached version, we have fixed your issue.

Thank you.