View Single Post
 
Old 10-30-2023, 05:00 AM
soroush.kalantari soroush.kalantari is offline Windows 10 Office 2016
Competent Performer
 
Join Date: Jun 2021
Posts: 124
soroush.kalantari is on a distinguished road
Default Is it possible to use keys like ALT for assigning shortcut key to macros in Excel?

I want to use keys like ALT and … for assigning shortcut key to macros in Excel by utilizing onkey command. (for example, I have used this line: Application.OnKey "+%{R}", "copyMRial". But it dose not work for me. (the code show no “run time” error. But when I press the shortcut to run the macro, nothing happens).
Reply With Quote