I use the following macro to assign my macros to certain keys. For the last few days, I have noticed the 'Jump' macro was not getting activated when the F1 key was pressed.
I changed the keyboard but the problem didn't go away. If I reassign the macro to the F4 key, it works fine.
I am not sure what is taking over the F1 key. How can I diagnose the issue and fix the problem?
Thanks
I changed the keyboard but the problem didn't go away. If I reassign the macro to the F4 key, it works fine.
I am not sure what is taking over the F1 key. How can I diagnose the issue and fix the problem?
Thanks
VBA Code:
Sub Assign_Keys()
Const keyJump = "{F1}"
Const KeyJBack = "{F2}"
Application.OnKey Key:="{F1}", procedure:="Jump"
Application.OnKey Key:="{F2}", procedure:="Jump_Back1"