Thanks, but I believe this one didn't use a variable to store the key, though. I think it used the Ans variable. Tatsuo