I would like to set a limit to a text box so that end user only can enter numbers from 1-32 and not more.
I have setup a validation on keypress to make it only work with numbers i.e digits and nothing else however I am not sure how to set it to only allow 1-32 numbers.
Dim i as integer
if textbox2.text>i then
this however didn't work. I don't think I even wrote it right or not.
Could you please put me to the right direction.