by DrgnCreep (2 Submissions)
Category: String Manipulation
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Wed 11th October 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Determine / Prevent users from entering Numbers or Alpha Characters
' [email protected] (Don't Email my ass)
Sub CheckString (strTest as String)
'Be sure to pass the string to test...
'i.e. Call CheckString Text1.Text
'Replace Msgbox with other code if you like
If IsNumeric(strTest) = True Then
Msgbox "String Value Passed is Numeric"
End If
If IsNumeric (strTest) = False Then
Msgbox "String Value Passed is Alpha"
End If
End Sub
No comments have been posted about Determine / Prevent users from entering Numbers or Alpha Characters. Why not be the first to post a comment about Determine / Prevent users from entering Numbers or Alpha Characters.