Try If e.KeyCode = Keys.Enter Then Me .ProcessTabKey( True ) End If Catch ex As Exception MsgBox (ex.Message) End Try