I have a list box and a button, both disabled. I don't want them enabled until a selection has been made from another List box. How do I accomplish this?
I know how to do it from an Option button:
Private Sub optNo_Change()
If optNo = True Then
cmdButton1.Enabled = True
ListBox1.Enabled = True
Else
ListBox1.Enabled = False
ListBox1 = ""
cmdButton1.Enabled = False
End If
End Sub
I know how to do it from an Option button:
Private Sub optNo_Change()
If optNo = True Then
cmdButton1.Enabled = True
ListBox1.Enabled = True
Else
ListBox1.Enabled = False
ListBox1 = ""
cmdButton1.Enabled = False
End If
End Sub