Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-30-2023, 05:00 AM
soroush.kalantari soroush.kalantari is offline Is it possible to use keys like ALT for assigning shortcut key to macros in Excel? Windows 10 Is it possible to use keys like ALT for assigning shortcut key to macros in Excel? Office 2016
Competent Performer
Is it possible to use keys like ALT for assigning shortcut key to macros in Excel?
 
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
 

Tags
onkey, shortcut



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using shortcut keys 14spar15 Excel 3 09-14-2020 11:00 PM
Assigning shortcut keys via a macro file alex100 Word VBA 6 06-26-2020 09:27 AM
Shortcut keys in Find&Replace fsdance Word 0 02-11-2011 03:27 PM
cant use shortcut keys (ctrl+c/v/z...) laro Office 0 10-08-2010 11:01 PM
Can't Assign Shortcut Keys Vicki F. Word 0 04-17-2010 03:03 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft