Sorry for missing the library thing in your original post. In the VBEditor, go Tools
References and uncheck everything "missing".
--
HTH. Best wishes Harald
Followup to newsgroup only please.
"CAA" wrote in message
...
Yes,
I tried the keypress code and got the same error at the
Asc(UCase$(Chr$(KeyAscii))) line,
at the Chr$ part. can't find object or library.
---
Message posted from http://www.ExcelForum.com/