Conditional Formatting affected by just opening and saving file

If I open the file “Before.xlsm” with Workbookdesigner, and saves it immediately as “After.xsml”, all my conditional formattings are destroyed.



Is there are away around this ?



BR/Mikael Wikman

Hi,


Thanks for the template file.

Please try our latest version/fix: Aspose.Cells for .NET v8.5.1:

I have tested your issue with v8.5.1 using the following sample code, it works fine. Kindly use the following sample code:
e.g
Sample code:

var workbook = new Workbook(“e:\test2\Before.xlsm”);
workbook.Save(“e:\test2\out1.xlsm”, SaveFormat.Xlsm);


Let us know if you still have any issue.

Thank you.