Share via


_Application.Calculation Property

Returns or sets the calculation mode. Read/write XlCalculation.

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

Syntax

'Declaration
Property Calculation As XlCalculation
    Get
    Set
'Usage
Dim instance As _Application
Dim value As XlCalculation

value = instance.Calculation

instance.Calculation = value
XlCalculation Calculation { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlCalculation

Remarks

For OLAP data sources, this property can only return or be set to xlNormal.

XlCalculation can be one of these XlCalculation constants:

xlCalculationAutomatic

xlCalculationManual

xlCalculationSemiautomatic

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace