Here is the code:
Private Sub OK_select_Click()
If ListBox1.ListIndex = -1 Then
bts_name = "Nothing"
Else
For i = 0 To ListBox1.ListCount - 1
If ListBox1.Selected(i) Then _
bts_name = ListBox1.List(i)
Next i
End If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.