disabling keyboard

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Merry Christmas and a Happy New Year to All!

Is there any way to disable certain keyboard keys using macro? Any help, is
very much appreciated.

Thank you.
 
Here are a bunch of conmmon keys...

Application.OnKey "{ESC}", ""
Application.OnKey "^{BREAK}", ""
Application.OnKey "^{PGDN}", "" 'Disable Ctrl-PageUp
Application.OnKey "^{PGUP}", "" 'Disable Ctrl-PageDown

Application.OnKey "^{s}", ""
Application.OnKey "^{c}", ""
Application.OnKey "^{g}", ""
Application.OnKey "^{n}", ""
Application.OnKey "^{f}", ""
Application.OnKey "^{x}", ""

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

Similar Threads

Merry Christmas All Of PC Review. 7
Merry Christmas Everyone! 8
Change operater in Excel formula 3
Merry Christmas Everyone 14
Merry Christmas Everyone 12
HAPPY CHRISTMAS Everyone. 9
New PC 6
Merry Christmas! 8

Back
Top