Worksheet.EnableCalculation Property

Gets or set a value that indicates whether Microsoft Office Excel automatically recalculates the worksheet when necessary.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property EnableCalculation As Boolean
    Get
    Set
bool EnableCalculation { get; set; }

Property Value

Type: System.Boolean
true if Excel automatically recalculates the worksheet when necessary; otherwise, false.

Remarks

When the value of this property is false, you cannot request a recalculation. When you change the value from false to true, Excel recalculates the worksheet.

.NET Framework Security

See Also

Reference

Worksheet Interface

Microsoft.Office.Tools.Excel Namespace