if textbox1.text > 15 then msgbox "Please enter a digit between 1-15"
you might also want to do it so if they enter a value less than 1.
if textbox1.text < 1 then msgbox "Please enter a digit between 1-15"
i think these will help, but if they don't just say so, because it's been awile for me, so i might have made a mistake.
|