Hi,
I'm an old programmer, new to VB.
I have a TextBox but want the user to only enter integers (I suppose decimals are ok)
I've set the datatype to integer, but the Change() event crashes at runtime giving me "type mismatch" errors when I enter a-z characters.
Is there any way to make the textbox only accept numbers?
many thanks,
Jerry
I'm an old programmer, new to VB.
I have a TextBox but want the user to only enter integers (I suppose decimals are ok)
I've set the datatype to integer, but the Change() event crashes at runtime giving me "type mismatch" errors when I enter a-z characters.
Is there any way to make the textbox only accept numbers?
many thanks,
Jerry