Saving a file with Slicers using Aspose Makes the file unsavable

Hi There,
I am using Aspose.Cell version 26.1.0.

Attached are 2 files: slicers-original.xlsx, slicers-saved.xlsx.

slicers-saved.zip (8.6 MB)
slicers-original.zip (8.5 MB)

In our coded we use Aspose.Cells to save the file ‘slicers-original.xlsx’ to a different location.
The output is a an xlsx file (slicers-saved.xlsx), that cannot be saved.
When we open that file and try to save, excel crashes and the file was not saved.
Removing the slicers solves the issue.

var stream = new FileStream(
filePath,
FileMode.Create,
FileAccess.ReadWrite,
FileShare.ReadWrite
);
var saveFormat = FileFormatUtil.FileFormatToSaveFormat(workbook.FileFormat);
await workbook.SaveAsync(stream, saveFormat);

Please advise,
Thanks,
Shlomi

@shlomi.z

You’re seeing that a workbook saved with Aspose.Cells 26.1.0, which contains slicers, causes Excel to crash when you try to save the file.

Thanks for providing the sample files—they will help us reproduce the issue. To investigate further, could you let us know:

  • How the workbook is loaded and whether any changes are made to the slicers or other objects before calling SaveAsync?
  • The version of Excel and the operating system you use when the saved file crashes.
  • The .NET runtime/target framework you are building against (e.g., .NET 6, .NET Framework 4.8).

With this information we can try to reproduce the problem on our side and determine the next steps.

@shlomi.z

Thank you for the provided template file. With it we have reproduced the issue that make ms excel crash when saving the file.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSNET-59828

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@shlomi.z,

This is to inform you that your issue (Ticket ID: “CELLSNET-59828”) has been resolved. The fix will be included in the upcoming release (Aspose.Cells v26.3) that we plan to release in the first half of March 2026. You will be notified when the next version is released.

The issues you have found earlier (filed as CELLSNET-59828) have been fixed in this update. This message was posted using Bugs notification tool by leoluo