Hello, we are trying to make a game application where one of the users presses a button when he/she knows the answer.

Here is the code we have experimented with:

If Chr(KeyAscii) = "a" Or Chr(KeyAscii) = "A" Then
msgbox "you pressed A"

End If

this code snippet works in a new project, but for some reason it will not work in ours.
This might be because there are other procedures going on
I.E. a timer we have counting down. Please help us if you know how we can make this work properly.