PivotField.Calculation Property

Definition

Returns or sets the type of calculation performed by the specified field. This property is valid only for data fields. Read/write XlPivotFieldCalculation.

public:
 property Microsoft::Office::Interop::Excel::XlPivotFieldCalculation Calculation { Microsoft::Office::Interop::Excel::XlPivotFieldCalculation get(); void set(Microsoft::Office::Interop::Excel::XlPivotFieldCalculation value); };
public Microsoft.Office.Interop.Excel.XlPivotFieldCalculation Calculation { get; set; }
Public Property Calculation As XlPivotFieldCalculation

Property Value

Remarks

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

Applies to