I didn't see a Chk_KEYPAD subroutine included in your code. Do you have one?