Link to home
Start Free TrialLog in
Avatar of ANGmoh
ANGmoh

asked on

Insert Alphabets

how to insert alphabets A-Z and a-z only ??

Avatar of ayufans
ayufans

insert into where ?? please be more specific.
this example is inserting the text into a textbox :

Private Sub Text1_KeyPress(KeyAscii As Integer)
    If KeyAscii < 65 Or KeyAscii > 122 Then
        KeyAscii = 0
    End If
End Sub

Hope this is what you wanted.

Good Luck
ASKER CERTIFIED SOLUTION
Avatar of DocM
DocM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial