Compartilhar via


DropDowns.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 DropDowns
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

DropDowns Interface

DropDowns Members

Microsoft.Office.Interop.Excel Namespace