How would I put something like this into code form?
If any user in the listbox is selected Then
Else
Printable View
How would I put something like this into code form?
If any user in the listbox is selected Then
Else
You can simply check if ListIndex property > -1
Code:If List1.ListIndex > -1 Then
MsgBox "Please select something first!"
Else
'do something
End If
Alright thanks a lot man!