Recommended Answers
Jump to PostI am thinking your approach is not completely robust. Without checking I imagine the 123.45 will return true to isnumeric which I imagine you don't want.
Personally, I am not a fan of masked text boxes because they are not that user friendly but it is a quick and …
Jump to PostI think line 3 could also be:
If achar [!A-Z] then
Jump to Postto validate just use this
dim hold as stringhold=strings.right(text1.text,1)
if isnumeric(hold)=false then
msgbox"its a character"
else
msgbox"its a number"end if
All 9 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.