VBA lets you place interactive controls on a UserForm. The TextBox is a popular control: it lets a user enter text that your code can subsequently use.
Often, you want a user to type a number into a TextBox. However, the TextBox as provided in the VBA is indiscriminate: it just accepts text. It doesn't care whether that text is Warren Buffet's net worth or the name of a space monster. If you want to be sure that your user has entered numeric data, you must validate the contents of the TextBox before your user can proceed.
Validatation is common to all implementations of VBA. Programmers want useful, validated data in MicroStation, Excel, Access and Word (and any other platform that supports VBA). If you perform a web search for VBA TextBox validation you will find lots of results. Here are a few to get you going...