Disable Alt+F11

G

Guest

I've never tryed to disable that one, but I disable the anoying F1 with

Sub auto_open()
Application.OnKey "{f1}", ""
Call disableF1
End Sub

Sub disableF1()
Application.OnKey "{f1}", ""

I assume you can disable anything with this.
 
A

Ardus Petus

Application.OnKey "%{F1}", ""

To restore built-in function:
Application.OnKey "%{F1}"

HTH
 

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