Hi could someone help me on this one please.. So, I have a listbox on a Userform. On the form I also have a Delete button which is disable when the form loads.
I'm trying to code the button to enable only if there is a row selected. I did give the following a try but no joy sadly.
thanks for any replies Paul
I'm trying to code the button to enable only if there is a row selected. I did give the following a try but no joy sadly.
VBA Code:
If IsNull (listboxEvents) Then
MsgBox "Nothing Selected"
Else....
End if
thanks for any replies Paul