Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default disable alt and control shortcut keys


If I have created macros that are associated with Shortkut keys...

for instance Ctrl+b = will run macro associated with b as shortcut
key....


Is there anyway to disable all the default shortcut keys....like Ctrl+p
will bring up the print dialog box....I only want to use the shortcut
keys that my macros are assigned to...

thanks for any help


--
jhahes
------------------------------------------------------------------------
jhahes's Profile: http://www.excelforum.com/member.php...o&userid=23596
View this thread: http://www.excelforum.com/showthread...hreadid=570935

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default disable alt and control shortcut keys

There is information he
http://msdn.microsoft.com/library/de...HV05203370.asp

If there isn't another way it looks like it would be quite a job to disable
every one.

With Application
.OnKey "^c", "" 'Copy shortcut disabled
.OnKey "^v", "" 'Paste shortcut disabled
.OnKey "^x", "" 'Cut shortcut disabled
.OnKey "^p", "" 'Print shortcut disabled
End With

If you want them back:

With Application
.OnKey "^c" 'Copy shortcut enabled
.OnKey "^v" 'Paste shortcut enabled
.OnKey "^x" 'Cut shortcut enabled
.OnKey "^p" 'Print shortcut enabled
End With

"jhahes" wrote:


If I have created macros that are associated with Shortkut keys...

for instance Ctrl+b = will run macro associated with b as shortcut
key....


Is there anyway to disable all the default shortcut keys....like Ctrl+p
will bring up the print dialog box....I only want to use the shortcut
keys that my macros are assigned to...

thanks for any help


--
jhahes
------------------------------------------------------------------------
jhahes's Profile: http://www.excelforum.com/member.php...o&userid=23596
View this thread: http://www.excelforum.com/showthread...hreadid=570935


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
Shortcut Keys ? Jakobshavn Isbrae Excel Discussion (Misc queries) 1 March 20th 07 06:44 PM
Disable CUT via toolbars or shortcut keys sparx Excel Discussion (Misc queries) 0 April 30th 06 08:34 PM
shortcut keys Ben Excel Programming 1 December 6th 05 09:20 PM
Disable Shortcut Keys Ronbo Excel Programming 1 May 25th 04 03:12 PM
How to DISABLE THE CONTROL BREAK shortcut keys Marcello do Guzman Excel Programming 3 January 9th 04 01:48 PM


All times are GMT +1. The time now is 02:58 AM.

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

About Us

"It's about Microsoft Excel"