Disable F1 key?

G

Guest

I'd like to disable the F1 key because I frequently hit it inadvertently when trying to hit F2. Any ideas?
 
L

Lady Layla

pop it off with a screwdriver


: I'd like to disable the F1 key because I frequently hit it inadvertently when
trying to hit F2. Any ideas?
 
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

If you pop the F1 key off, you may want to remove the spring and put the keytop
back. It'll look prettier!
 

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