IDropDown.AddItem Method

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

Syntax

'Declaration
Function AddItem ( _
    Text As Object, _
    Index As Object _
) As Object
'Usage
Dim instance As IDropDown
Dim Text As Object
Dim Index As Object
Dim returnValue As Object

returnValue = instance.AddItem(Text, Index)
Object AddItem(
    Object Text,
    Object Index
)

Parameters

Return Value

Type: System.Object

See Also

Reference

IDropDown Interface

IDropDown Members

Microsoft.Office.Interop.Excel Namespace