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 was not assigned any value". This happens as soon as I want to enter something in the textbox.

Thanks
Michael
 
Top