Problem with content of saved excel file after opening and saving in Aspose.Cells

Hi,


I have attached an input and output file to this post.
Is run the input file through this code:

-----
const string inputFileName = @"\AsposeInput.xlsm";
const string outputFileName = @"\AsposeOutput.xlsm";

var workbook1 = new Workbook(inputFileDir + inputFileName);

using (var fs = File.OpenWrite(outputFileDir + outputFileName))
{
workbook1.Save(fs, SaveFormat.Xlsm);
}
-----

After saving the file and opening it in excel I receive the following:
"We found a problem with some content in ‘AsposeOutput.xlsm’.Do you want us to try to recover as much as we can? If you trust the source of this workbook, Click Yes"

If I click yes, some items in the workbook will be removed.

I’m using version 8.7.2.0 of Aspose.Cells

Regards

(Ignore this: work item #11409)

Hi,


Thanks for providing us sample files with code segment.

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

I have tested your scenario/ case using your template file and sample code a bit with v8.9.0, it works fine and as expected. The output file is opened fine without displaying any error message.

Thank you.

Yes, it seems to work.


Thank you for your help

Hi,


Thanks for your feedback.

Good to know that your issue is sorted out by the latest version/fix. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Thank you.