| mfo6463 |
Dec 7th, 2004 11:42 PM |
I have a combobox with "Option1" and "Option2"
When Option1 is clicked, option1 is enabled and option2 is disabled, and when Option 2 is clicked, it is enabled and Options1 is disabled.
The problem is that it only works for the first time. When you click the opposite option the second time, nothing happens. How do I get it to constantly check what choice.text is?
:
Sub choice_Click()
If choice.Text = "Option 1" Then
option1.Enabled = True
option2.Enabled = False
ElseIf choice.Text = "Option 2" Then
option1.Enabled = False
option2.Enabled = True
End If
End Sub
|