ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Onkey vs Macro Short cut key (https://www.excelbanter.com/excel-discussion-misc-queries/34629-onkey-vs-macro-short-cut-key.html)

rgarber50

Onkey vs Macro Short cut key
 

Is there a benefit to using the macro short cut key in macro options vs
coding a key combo using Onkey?

Thanks

Richard


--
rgarber50
------------------------------------------------------------------------
rgarber50's Profile: http://www.excelforum.com/member.php...o&userid=11350
View this thread: http://www.excelforum.com/showthread...hreadid=385952


Jim Rech

I don't think there is a huge difference but with the macro options approach
the shortcut is almost always there. For instance it takes a macro to run
to set the Onkeys but not for macro options. And to extend that, macro
options is there even if Shift is held down when the workbook is opened to
keep auto macros from running.

And another difference is that if the workbook is closed that has the macro
options macro the shortcut is automatically terminated. But with Onkeys the
shortcut still exists and Excel will still look for the macro.

--
Jim
"rgarber50" wrote
in message ...

Is there a benefit to using the macro short cut key in macro options vs
coding a key combo using Onkey?

Thanks

Richard


--
rgarber50
------------------------------------------------------------------------
rgarber50's Profile:
http://www.excelforum.com/member.php...o&userid=11350
View this thread: http://www.excelforum.com/showthread...hreadid=385952





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

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