How to assign a shortcut key to my macro? Is there any way to directly assign it through VBA code?


There's an SDK available for this commercial software from Chirag Dalal http://officeone.mvps.org/ppsctmgr/ppsctmgr.html

The SDK is here: http://officeone.mvps.org/ppsctmgr/ppsctmgr_sdk.html


This is also my problem today and buying an additional software just for this shortcut should not be reasonable. I found out that coding this in Autohotkey can actually work. This is a sample one that only need to press Ctrl+r and you can already run your macro. The prerequisite of course , you should have your macro in the custom tool bar button as addins.

LCtrl & r::
Send Raw{Alt}
SendRaw x
SendRaw y
Send Raw{Alt}
SendRaw h
Send Raw{Alt}
Goto, Exit

Hope this should help some guys who might have similar problems in the future.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.