ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   disable F1 (https://www.excelbanter.com/excel-discussion-misc-queries/13503-disable-f1.html)

12505-5B

disable F1
 
Is there a way to disable the F1 Hot Key so that the Help Menu doesn't pop up?

Jason Morin

Place these in a standard module:

Sub DisableF1()
Application.OnKey "{F1}", ""
End Sub

Sub EnableF1()
Application.OnKey "{F1}"
End Sub

HTH
Jason
Atlanta, GA

-----Original Message-----
Is there a way to disable the F1 Hot Key so that the

Help Menu doesn't pop up?
.



All times are GMT +1. The time now is 09:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com