Calc .NET > Tutorial > Limit the evaluation steps

The following example shows you how to bound the work a single calculation may do. CalcOptions.MaxEvaluationSteps is a safety guard against pathological dependency chains in untrusted workbooks. When the limit is reached the run stops and the affected cells are reported as EvaluationAborted diagnostics.

C# example
VB example

Need help? Ask our developers: