This is a simple one.

How do I make sure I don't get a type miss match error. For example if I have 2 text boxes which I only want integers typed in and not letters how would I code this.

Once I have got the code going, would it be better to make say letters off limits or should I chuck up a msgbox and tell the user that only numbers can be typed?

Is there a way of stopping all but numbers being typed into a textbox?

Thanks