VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Determines if the Character is Alpha.

by James Olarte (8 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 29th May 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Determines if the Character is Alpha.

API Declarations


'Call this function under Keypress, Keyup or Keydown Events.

Rate Determines if the Character is Alpha.



On Error GoTo ErrorHandler:
    If CharCode > 96 And CharCode < 123 Then
        CharacterIsAlpha = True
    ElseIf CharCode > 64 And CharCode < 91 Then
        CharacterIsAlpha = True
    Else
        CharacterIsAlpha = False
    End If
    Exit Function
ErrorHandler: MsgBox "Error in CharacterIsAlpha: " & Err.Description, vbCritical + vbOKOnly, "Error " & Err.Number & " - " & Err.Source
End Function


Download this snippet    Add to My Saved Code

Determines if the Character is Alpha. Comments

No comments have been posted about Determines if the Character is Alpha.. Why not be the first to post a comment about Determines if the Character is Alpha..

Post your comment

Subject:
Message:
0/1000 characters