Hi guys. I need your help.
In the workbook_open event I have added the following to avoid opening Powershell:
Application.OnKey "%{F12}", ""
Now, on the other hand, I want to prevent the F8 function key being activated so that the user cannot start the selection with the keyboard. I have tried the following, but I can't make it work:
Application.OnKey "{F8}", ""
Can anyone tell me what I am doing wrong?
Thank you so much.
In the workbook_open event I have added the following to avoid opening Powershell:
Application.OnKey "%{F12}", ""
Now, on the other hand, I want to prevent the F8 function key being activated so that the user cannot start the selection with the keyboard. I have tried the following, but I can't make it work:
Application.OnKey "{F8}", ""
Can anyone tell me what I am doing wrong?
Thank you so much.