Edit

Share via


PivotFormulas.Add(String, Object) Method

Definition

Creates a new PivotTable formula. Returns a PivotFormula object.

public Microsoft.Office.Interop.Excel.PivotFormula Add (string Formula, object UseStandardFormula);
Public Function Add (Formula As String, Optional UseStandardFormula As Object) As PivotFormula

Parameters

Formula
String

Required String. The new PivotTable formula.

UseStandardFormula
Object

Optional Object. A standard PivotTable formula.

Returns

Applies to