code for reading letters only in vb 6

The solution for “code for reading letters only in vb 6” can be found here. The following code will assist you in solving the problem.

Select Case keyascii
Case Asc(“A”) To Asc(“Z”)
Case Asc(“a”) To Asc(“z”)
Case Else
MsgBox “Alphabets not allowed!”, vbCritical
End Select

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts