Share via


Worksheet.EnableCalculation Property

Definition

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

public:
 property bool EnableCalculation { bool get(); void set(bool value); };
public bool EnableCalculation { get; set; }
member this.EnableCalculation : bool with get, set
Public Property EnableCalculation As Boolean

Property Value

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.

Applies to