I noticed I forgot to mention (or include) which version we are using,
Hi,
Bas.
Hi,
Thank you, that does indeed seem to shorten the time processing,
Oaky, so I got a bit of a bewildered reply from the users…
There is a big () difference between the performance of Native Excel and Aspose.
Thanx Bas.
---------------------------------------------------------------------------------------------------

Hi,
I meant the actual id of this thread, it starts with a 6
Hi,
e.g
Sample code:
LoadOptions options = new LoadOptions(LoadFormat.Xlsx);
options.ParsingFormulaOnOpen = true;
Workbook workbook = new Workbook(@“E:\test2\DownloadAttachment (2).xlsx”, options);
var settings = workbook.Settings;
settings.CalcMode = Aspose.Cells.CalcModeType.Automatic;
settings.CreateCalcChain = true;
settings.EnableMacros = true;
settings.Iteration = true;
settings.MaxChange = 100000;
settings.RecalculateBeforeSave = true;
settings.CalcStackSize = 40;
var designer = new WorkbookDesigner();
designer.Workbook = workbook;
var cellIn = workbook.Worksheets[0].Cells[“A4”];
cellIn.Value = 3; // ‘c’
designer.Process();
workbook.CalculateFormula(false); //This is taking more time.
MessageBox.Show(“Done!”);
I have logged a ticket with an id “CELLSNET-44120” for your issue. Our product team will look into your issue soon if we can speed up the formula calculations a bit or there might be other workaround to process the formulas speedily. Otherwise, we might try to enhance the formula calculation engine (if required).
Hi Amjad,
This issue is blocking the proof of concept at our biggest prospect ever. We must decide whether to propose Aspose or hardcode the model.
Can you please inform us about the ETA of the solution for this issue?
regards,
Dirk-Jan
Hi,
Thank you for your reply Amjad. I will be monitoring this thread closely and looking forward to your reply with the solution.
keep in touch
DJ
Hi Amjad,
Do you already have any indication about the complexity of this problem?
thnx DJ
Hi,
Hi,
Thanks for using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for .NET v8.6.3.2 and let us know your feedback.
For this issue, we made improvement for the calculation engine for calculation stack. Now user should be able to give larger stack size when calculating formulas, such as change:
settings.CalcStackSize = 40;
to:
settings.CalcStackSize = 100;
may give better performance. Even with 40, the new fix should give much better performance than old versions now.
We will report our findings shortly.
Hi,
The issues you have found earlier (filed as CELLSNET-44120) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.