Posted 1 December 2025, 12:25 pm EST
Hello,
I’m making some tests with your library and I have this use case :
I need to load a xlsm file as fast as possible, put some inputs data in a worksheet, calculate the dirty cells, get the outputs.
To speed up opening I’m using this options
var options = new XlsmOpenOptions
{ DoNotRecalculateAfterOpened = true, DoNotAutoFitAfterOpened = true, ImportFlags = ImportFlags.Data | ImportFlags.Formulas };
To calculate on demand, I’m toggling EnableCalculation property.
But it’s not clear for me how the Calculate() method, the EnableCalculation property and the CalculationMode are working.
What would be the best way to recalculate on demand the dirty cells ?
