Hi everyone,
This is a problem that I will do my best to describe because I just don't know the right terminology for.
I have a userform with a textbox and a combobox. The user is supposed to type something in the textbox and choose one of the options from the combobox. I want to be able to deactivate the combobox until there is something in the textbox and one of the options brom the combobox are chosen.
It should be something like:
I know that this code is completely off, but I hope it will help examplify what I am after.
Any ideas?
AMAS
This is a problem that I will do my best to describe because I just don't know the right terminology for.
I have a userform with a textbox and a combobox. The user is supposed to type something in the textbox and choose one of the options from the combobox. I want to be able to deactivate the combobox until there is something in the textbox and one of the options brom the combobox are chosen.
It should be something like:
Code:
If Controls("TextBox1").Text <> "" AND Controls("Combobox").Value <> "" Then
CommandButton1_Click.Activate
I know that this code is completely off, but I hope it will help examplify what I am after.
Any ideas?
AMAS