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…