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