I'm creating an Excel Userform. I want to validate two textbox values.
if combobox1.text= 1 to 2yr then textbox2.value =>1 and <=2
combobox11.text= 3 to 10yr then textbox2.value =>3 and <=10
combobox1.text= 11 to 15yr then textbox2.value =>11 and <=15
combobox1.text= 16 to 20yr then textbox2.value =>16 and <=20
end if

textbox2.valuebased ontextbox1.text? ... or are you trying to validate both textboxes and do something else? And is a single number typed intotextbox1? thanks