Answer by
gigo (1706)
To disable the F11 key go to extras, start. Then choose the option use access special keys. uncheck the option. The alternative is to overwrite the key. This you can do by setting key preview on yes. Then you can overwrite the key handler like this:
Select Case KeyCode
Case vbKeyF11
KeyCode = 0
...