If combobox.listindex>-1 then
textbox.enabled=false
else
textbox.enabled=true
end if
whenever the user clicks on the combobox to change its value the textbox will be diabled if an item in the combobox list is selected. If in another section of your code somethiong resets or clears the combobox be sure to add in code to re enable the textbox.
Change the If Staetment to read
If Combobox.listindex >-1 and Combobox.listindex<2 then
that will refine the lockout to the 1st 2 items on the list but leave the texbox open on the 3rd item