Disabling F1 key

N

Nick Marischuk

Almost every other time that I want to activate the F2 key
(edit cell), I accidently sstrike the F1 key(help). After
about 10 seconds, the help screen opens and I then close
it. How can I disable or deactivate the F1 key to rid
myself of this pain in the ____? Thanks for the help
anyone.
 
D

Dave Peterson

Maybe you could a line or two to your personal.xls (auto_open/workbook_open
procedure):

Option Explicit
Sub disableF1()
Application.OnKey "{f1}", ""
End Sub
Sub enableF1()
Application.OnKey "{f1}"
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top