Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
CMIConnie
 
Posts: n/a
Default Can I DISABLE a shortcut key?

Is there a way to DISABLE the shortcut key (ctrl+D) which is Fill Down? I am
needing to use ctrl+F frequently and sometimes I accidently hit ctrl+D and my
spreadsheet is so huge that it locks up when I do that, then I loose all my
changes. It takes a while to save, so it is impractical to save after ever
change I make. Thanks for your time and any help you can suggest will be
appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Can I DISABLE a shortcut key?

You can do this with VBA code.

Sub DisableCtrlD()
Application.OnKey "^d",""
End Sub

Sub RestoreCtrlD()
Application.OnKey "^d"
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"CMIConnie" wrote in
message
...
Is there a way to DISABLE the shortcut key (ctrl+D) which is
Fill Down? I am
needing to use ctrl+F frequently and sometimes I accidently hit
ctrl+D and my
spreadsheet is so huge that it locks up when I do that, then I
loose all my
changes. It takes a while to save, so it is impractical to
save after ever
change I make. Thanks for your time and any help you can
suggest will be
appreciated!



  #3   Report Post  
Posted to microsoft.public.excel.misc
CMIConnie
 
Posts: n/a
Default Can I DISABLE a shortcut key?

Thanks for your time answering my question... Would I run it as a macro?
It's been 14 years since I've written macros and I know it is different now...

"Chip Pearson" wrote:

You can do this with VBA code.

Sub DisableCtrlD()
Application.OnKey "^d",""
End Sub

Sub RestoreCtrlD()
Application.OnKey "^d"
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"CMIConnie" wrote in
message
...
Is there a way to DISABLE the shortcut key (ctrl+D) which is
Fill Down? I am
needing to use ctrl+F frequently and sometimes I accidently hit
ctrl+D and my
spreadsheet is so huge that it locks up when I do that, then I
loose all my
changes. It takes a while to save, so it is impractical to
save after ever
change I make. Thanks for your time and any help you can
suggest will be
appreciated!




  #4   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Can I DISABLE a shortcut key?

In Excel, press ALT+F11 to open the VBA Editor. There, go to the
Insert menu and choose Module. Paste the code in that module.
Then, close the VBA Editor to go back to Excel. Press ALT+F8 to
display the macro list. Select the macro to run and click the Run
button.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"CMIConnie" wrote in
message
...
Thanks for your time answering my question... Would I run it as
a macro?
It's been 14 years since I've written macros and I know it is
different now...

"Chip Pearson" wrote:

You can do this with VBA code.

Sub DisableCtrlD()
Application.OnKey "^d",""
End Sub

Sub RestoreCtrlD()
Application.OnKey "^d"
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"CMIConnie" wrote in
message
...
Is there a way to DISABLE the shortcut key (ctrl+D) which is
Fill Down? I am
needing to use ctrl+F frequently and sometimes I accidently
hit
ctrl+D and my
spreadsheet is so huge that it locks up when I do that, then
I
loose all my
changes. It takes a while to save, so it is impractical to
save after ever
change I make. Thanks for your time and any help you can
suggest will be
appreciated!






  #5   Report Post  
Posted to microsoft.public.excel.misc
CMIConnie
 
Posts: n/a
Default Can I DISABLE a shortcut key?

It worked! Thank you! Thank you! Thank you!
I love learning something new. You just made my life easier!
Happy Easter...

"Chip Pearson" wrote:

In Excel, press ALT+F11 to open the VBA Editor. There, go to the
Insert menu and choose Module. Paste the code in that module.
Then, close the VBA Editor to go back to Excel. Press ALT+F8 to
display the macro list. Select the macro to run and click the Run
button.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"CMIConnie" wrote in
message
...
Thanks for your time answering my question... Would I run it as
a macro?
It's been 14 years since I've written macros and I know it is
different now...

"Chip Pearson" wrote:

You can do this with VBA code.

Sub DisableCtrlD()
Application.OnKey "^d",""
End Sub

Sub RestoreCtrlD()
Application.OnKey "^d"
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"CMIConnie" wrote in
message
...
Is there a way to DISABLE the shortcut key (ctrl+D) which is
Fill Down? I am
needing to use ctrl+F frequently and sometimes I accidently
hit
ctrl+D and my
spreadsheet is so huge that it locks up when I do that, then
I
loose all my
changes. It takes a while to save, so it is impractical to
save after ever
change I make. Thanks for your time and any help you can
suggest will be
appreciated!






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
VBA to disable "Delete...." on shortcut menu of worksheet tab? Mary Kathryn Excel Discussion (Misc queries) 3 March 3rd 06 05:54 PM
Keyboard Shortcut for Zooming Henrik Excel Worksheet Functions 1 February 4th 06 08:54 PM
Keyboard shortcut not working when I copy macro to another computer telewats New Users to Excel 1 January 9th 06 08:52 PM
Deactivate shortcut keys in excel.. areddy Excel Discussion (Misc queries) 1 October 25th 05 02:37 PM
how can you customize a shortcut menu in excel? fredk Excel Discussion (Misc queries) 2 March 25th 05 04:25 AM


All times are GMT +1. The time now is 03:15 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"