WorksheetBase.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.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public Property EnableCalculation As Boolean
Get
Set
public 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.