Private Sub Form_Load() KeyPreview = True End Sub Private Sub Form_KeyPress(KeyAscii As Integer) KeyAscii = Asc(UCase(Chr(KeyAscii))) End Sub