Listbox questions
Assuming your listbox is ListBox1, if you use:
Private Sub ListBox1_Click()
MsgBox "You Selected" & Me.ListBox1.Value
End Sub
The above code would display a message box that tells you what selection you
made, if the ListBox1 is not a multiselect type.
"Robert Crandal" wrote in message
...
If I add like 20 items to my userform's listbox control, how can I
determine if a user selects or double clicks on item 10?? I'm
just trying to figure out which event handles when an item is
selected or double clicked.
Thank you
|