SpreadsheetGear 2023
MaxIterations Property (IWorkbookSet)

SpreadsheetGear Namespace > IWorkbookSet Interface : MaxIterations Property
Gets or sets the maximum number of calculation iterations.
Property MaxIterations As System.Integer
Dim instance As IWorkbookSet
Dim value As System.Integer
instance.MaxIterations = value
value = instance.MaxIterations
System.int MaxIterations {get; set;}

When IWorkbookSet.Iteration is true, formulas are calculated until the number of iterations equals IWorkbookSet.MaxIterations or until the maximum change in any calculated cell is less than IWorkbookSet.MaxChange.

Iteration is false by default

MaxChange is set to 0.001 by default.

MaxIterations is set to 100 by default.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IWorkbookSet Interface
IWorkbookSet Members
Iteration Property
MaxChange Property