CalculatedItems.Add(String, String, Object) Method

Definition

Creates a new calculated item. Returns a PivotItem object.

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

Parameters

Name
String

Required String. The name of the item.

Formula
String

Required String. The formula for the item.

UseStandardFormula
Object

Optional Object. False (default) for upward compatibility. True for strings contained in any arguments that are item names (will be interpreted as having been formatted in standard U.S. English instead of local settings).

Returns

Applies to