ok, KeyAscii means you have to enter the ASCII number for the number, so: S = 115
So use:
Code:
If KeyAscii = 115 Then
KeyAscii = 0
Text1.SelText = "a"
End If
That'll work

Please let me know if it works


[Edited by Jop on 09-07-2000 at 11:43 AM]