Hi Team,
I am running into a weird problem. When I try to save the workbook using
Save(absoluteFilePath, SaveFormat.Xlsx)
I am running into the following exception:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at Aspose.Cells.Workbook.Save(String fileName, SaveOptions saveOptions)
at Aspose.Cells.Workbook.Save(String fileName, SaveFormat saveFormat)
at xxxx.ReportHelper.ReportBL.CreateReport(ReportPackageDetail reportDetail, ReportPackage reportPackage) in C:\Projects\xxxxReportHelper\ReportHelperBL\ReportBL.cs:line 495
I have tried multiple fixes…