ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to use Alt keys + symbol keys to invoke a macro? (https://www.excelbanter.com/excel-programming/348479-how-use-alt-keys-symbol-keys-invoke-macro.html)

keithb

How to use Alt keys + symbol keys to invoke a macro?
 
Is there a workaround that allows assigning key combinations to macos other
than Ctrl + a letter. I would like to ue Alt + a symbol, such as Alt + Left
Arrow.

Thanks,

Keith



Chip Pearson

How to use Alt keys + symbol keys to invoke a macro?
 
You need to use the OnKey method of the Application object. See
VBA Help for OnKey.


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


"keithb" wrote in message
...
Is there a workaround that allows assigning key combinations to
macos other than Ctrl + a letter. I would like to ue Alt + a
symbol, such as Alt + Left Arrow.

Thanks,

Keith





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

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