ControlFormat.ListIndex Property
Returns or sets the index number of the currently selected item in a list box or combo box.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ListIndex As Integer
Get
Set
'Usage
Dim instance As ControlFormat
Dim value As Integer
value = instance.ListIndex
instance.ListIndex = value
int ListIndex { get; set; }
Property Value
Type: System.Int32