ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   OnAction callback is not invoked using hotkeys (https://www.excelbanter.com/excel-programming/406603-onaction-callback-not-invoked-using-hotkeys.html)

Vitaly

OnAction callback is not invoked using hotkeys
 
Dear all,

I'm trying to perfom custom action on Cut command:

<commands
<command idMso="Cut" onAction="CutClicked" /
</commands

It works fine when an user clicks on the Cut button. But when the user
presses Ctrl+X the callback is not invoked and the user is actually cuts
selected cells range.

I would like to have CutClicked callback to be invoked both when the user
clicks the button and uses hotkeys.

How this can be achieved?

Thanks,
Vitaly


All times are GMT +1. The time now is 04:12 PM.

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