I haven't looked for this, but is the key code of the enter key 13? It
could just as easily be 11 (LF) or a compound key.
Put in a msgbox call, or similar, to tell you what the code is that you're
getting when you hit the key - or simply put a break-point on the line and
step it through.