ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is it possible to assign 'Ctrl + D' to a CommandButton (https://www.excelbanter.com/excel-programming/426786-possible-assign-ctrl-d-commandbutton.html)

PJ Murph[_2_]

Is it possible to assign 'Ctrl + D' to a CommandButton
 


Jon Peltier

Is it possible to assign 'Ctrl + D' to a CommandButton
 
Shortcuts are not assigned to controls. You can assign a shortcut to the
same code that a control is assigned to.

Ctrl+D is a handy built-in shortcut, which fills the contents of a cell
downward. If someone hijacked this shortcut I would not be pleased. Maybe
Ctrl+Alt+D would be better.

- Jon
-------
Jon Peltier, Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
Advanced Excel Conference - Training in Charting and Programming
http://peltiertech.com/Training/2009...00906ACNJ.html
_______


"PJ Murph" wrote in message
...





All times are GMT +1. The time now is 07:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com