SyntaxFix
Write A Post
Hire A Developer
Questions
You could use a regular expression like this
If Regex.IsMatch(number, "^[0-9 ]+$") Then ... End If