ICalculatedItems.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Name As String, _
Formula As String, _
UseStandardFormula As Object _
) As PivotItem
'Usage
Dim instance As ICalculatedItems
Dim Name As String
Dim Formula As String
Dim UseStandardFormula As Object
Dim returnValue As PivotItem
returnValue = instance.Add(Name, Formula, _
UseStandardFormula)
PivotItem Add(
string Name,
string Formula,
Object UseStandardFormula
)
Parameters
- Name
Type: System.String
- Formula
Type: System.String
- UseStandardFormula
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.PivotItem