Hello,
I have ran into 2 problems. Firstly, the value returned by the ISNOTTEXT formula is wrong after calling workbook.CalculateFormula() and, if we were to save the workbook (after CalculateFormula), the value of ISNOTTEXT formula would be correct.
Here is the following code used to reproduce the issues, along with the attached file:
-----------------------------
var workbook = new Workbook(“testFile.xlsx”);
var initialVal = workbook.Worksheets?[0].Cells?[“D3”].Value;
workbook.CalculateFormula();
var currentVal = workbook.Worksheets?[0].Cells?[“D3”].Value;
Console.WriteLine(initialVal);
Console.WriteLine(currentVal);
workbook.Save(@“C:\isnottext.xlsx”); //Open the file and view it’s content
-----------------------------
InternalID: 27349
Best regards,
Jean-Alexandru Stanescu
Junior Developer
IBM Romania
Hi,
Sample code:
var workbook = new Workbook(“e:\test2\testFile.xlsx”);
var initialVal = workbook.Worksheets[0].Cells[“D3”].Value;
workbook.CalculateFormula();
var currentVal = workbook.Worksheets[0].Cells[“D3”].Value;
Console.WriteLine(initialVal); //True -Ok
Console.WriteLine(currentVal); //False -Not Ok
workbook.Save(@“e:\test2\out1.xlsx”);
Hi,
Thanks for using Aspose.Cells.
This is to inform you that we have fixed your issue CELLSNET-43966 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
Hi,
Thanks for your using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for .NET v8.6.0.5 and let us know your feedback.
Hi Shakeel,
Thanks for providing the build unfortunately we’re currently only using .NET 4 versions. Let us know when this build will be available. When do you plan to release apublic version that includes the fix?
Hi,
The issues you have found earlier (filed as CELLSNET-43966) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.