Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default disabling keyboard

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default disabling keyboard

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...

"Francis Ang" wrote:

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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
find keyboard short-cut to type symbols on keyboard steamcomputerdriver Excel Discussion (Misc queries) 2 February 6th 10 01:58 PM
Disabling certain keys on keyboard leerem Excel Discussion (Misc queries) 2 August 21st 09 03:37 PM
Disabling saving Mr. Burton Excel Worksheet Functions 4 October 21st 08 12:14 PM
disabling cells lak Excel Programming 6 May 17th 04 11:00 PM
Disabling Alt+F11 richard_b2004 Excel Programming 3 May 17th 04 06:32 PM


All times are GMT +1. The time now is 04:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"