How can I detect the row number that a user has chosen with a combobox?
Thanks!
Printable View
How can I detect the row number that a user has chosen with a combobox?
Thanks!
Code:Private Sub Combo1_Click()
MsgBox Combo1.ListIndex
End Sub
May have to add 1 to that though. Because that returns the ListIndex which I assume is Zero based...meaning the first row will be 0, the second will be 1, etc...
Use its ListIndex property.
Pete
Edit: Why am i so slow at this??
thanks guys!
All is working not :)