Share via


ICalculatedMembers.Add2 Method

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

Syntax

'Declaration
Function Add2 ( _
    Name As String, _
    Formula As Object, _
    SolveOrder As Object, _
    Type As Object, _
    Dynamic As Object, _
    DisplayFolder As Object, _
    HierarchizeDistinct As Object _
) As CalculatedMember
'Usage
Dim instance As ICalculatedMembers
Dim Name As String
Dim Formula As Object
Dim SolveOrder As Object
Dim Type As Object
Dim Dynamic As Object
Dim DisplayFolder As Object
Dim HierarchizeDistinct As Object
Dim returnValue As CalculatedMember

returnValue = instance.Add2(Name, Formula, _
    SolveOrder, Type, Dynamic, DisplayFolder, _
    HierarchizeDistinct)
CalculatedMember Add2(
    string Name,
    Object Formula,
    Object SolveOrder,
    Object Type,
    Object Dynamic,
    Object DisplayFolder,
    Object HierarchizeDistinct
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.CalculatedMember

See Also

Reference

ICalculatedMembers Interface

ICalculatedMembers Members

Microsoft.Office.Interop.Excel Namespace