Hi,
workGroup.Worksheets[0].Cells[“A1”].Formula = “=1<2”;
Hi,
workGroup.Worksheets[0].Cells[“A1”].Formula = “=1<2”;
Hi,
1) Please try the latest version:
Aspose.Cells
for .NET v7.0.4.3 and see if it works fine.
2) We will investigate your requirements, we have logged this issue in our database. Once, we will get some update/feedback relating to it from development team, we will let you know asap.
This issue has been logged as CELLSNET-40254.
Hi,
Please call Workbook. CalculateFormula() after setting the formulas to get calculated value of the formula. Also, if you call Workbook.CalculateFormula() again, it will only calculate the changed cells regarding values.
Thank you.
Hi,
1) I've downloaded that version at the error persists! (I attached the excel file that I'm testing)
Another thing that I noticed about this is that, with this new dll, the process is really slow. The dll from August (version 7.0.0.0) is much faster (and works with huge excel files).
2) This is very important to us. We can't use the other option that was talked here "Please call Workbook. CalculateFormula() after setting the formulas to get calculated value of the formula. Also, if you call Workbook.CalculateFormula() again, it will only calculate the changed cells regarding values."
Can't do this because the final excel file has N sheets, and all the sheets has formulas (already calculated), so I really don't want to calculate them again. I just want to process the formulas in the new sheet. Even there I just want to process the formulas in one column (I have formulas, already calculated, in the same sheet).
Thanks in advance
Hi,
1)
Thanks for providing the source xlsm file. Please also provide me a sample test code to replicate the problem.
2)
If you already have called the CalculateForumula() method, then you can retrieve the cells calculated value using Cell.StringValue property.
You can then just copy the calculated string values (not formulas) in your other worksheets.
Let me know if this works for you.
Hi,
Hi,
Hi,
Thanks for your postings.
We have logged your feedback in our database. We will look into them and get back to you asap.
Hi,
Please download and try the latest fix: Aspose.Cells for .NET v7.0.4.5
a) In the first calling Workbook.CalculateFormula, we will try to create a calculating chain.
There are too many formulas in your template file, so it takes long to time to create it and consumes much memory.
If you just want to calculate formulas in the file once, please try the following code:
C#
Perfect!!!
It works just like we want!!
This will be in the next version of aspose release right?
Once again, thanks for the quick responses.
Hi,
The issues you have found earlier (filed as CELLSNET-40257) have been fixed in this update.