Editing Number Input on a User Form

D

Don Wiss

When editing input on a user form there is an IsDate function. But no
companion IsNumber. If I use the WorksheetFunction.IsNumber it sees the
input from the form as a string, and even when a valid number it says it
isn't. What is a way to check that the user entered a valid number?

Don <donwiss at panix.com>.
 
D

Dave Peterson

Maybe:

if isnumeric()....



Don said:
When editing input on a user form there is an IsDate function. But no
companion IsNumber. If I use the WorksheetFunction.IsNumber it sees the
input from the form as a string, and even when a valid number it says it
isn't. What is a way to check that the user entered a valid number?

Don <donwiss at panix.com>.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top