there is the IsNumeric function...

or

If str(val(text1.text)) = str(text1.text) then [it's only numbers...] but never tested it...


or just verify every keypress to the textbox and make sure it is a digit 0-9

------------------
Rapmaster