Determines if the Character is Alpha.
Determines if the Character is Alpha.
API Declarations
'Call this function under Keypress, Keyup or Keydown Events.
Rate Determines if the Character is Alpha.
(1(1 Vote))
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
Determines if the Character is Alpha. Comments
No comments yet — be the first to post one!
Post a Comment