Keypress Error

ceaser

Active Member
Licensed User
The following gives me an error message:

Sub Textbox9_Keypress(Keypress)
If Keypress=Chr(13) Then
Textbox9.IgnoreKey
Button12.Focus
End If
End Sub

It says that "Keypress has not been defined.

Thanks
Michael
 
Top