Did you ever want to change a particular shortcut to something else in Microsoft Excel? Jackson, one of our latest customers wanted to use Ctrl+Enter instead of F2. Unfortunately you can’t do that directly in KeyRocket yet. But I can definitely see how you want something like that if you are a keyboard enthusiast.

So here is how.

  1. Download & Install Autohotkey
  2. Download this script or copy the content into your Autohotkey.ahk
    #IfWinActive ahk_class XLMAIN ; hotkeys only works in Excel ^Enter:: ; a hotkey, capture when Ctrl+Enter is pressed Send {F2} ; send the F2 key instead
  3. Adjust the mappings (refer to this list of key names)
  4. Make sure the script is loaded on startup (copy it to your auto-run folder).

A more general process for other applications is described in this Autohotkey Forum thread.

Any questions please ask!

6 Responses to “Remap any shortcut in Excel with Autohotkey”

  1. iamnoskcaj

    Thank you, Jan!

    It’s been an absolute, utter pleasure talking with you these last few days. I genuinely can’t praise you guys enough for how you’ve gone out of your way to help.


    • Jan Mechtel

      Glad you like it, let me know how it goes and how we can help you more!

      • KeyRocket_Admin


        Managing Director
        +49 176 4202 4340

        Veodin Software GmbH
        Phone: +49 30 6098 6645
        Office: c/o MK Payment GmbH, Oranienstrasse 185, 10999 Berlin
        Postal address: Rudolf-Schwarz-Strasse 30, 10407 Berlin
        Sitz der Gesellschaft: Berlin | HRB 139550 B Amtsgericht Charlottenburg Geschäftsführer: Matthias Mayrock, Jan Mechtel

      • iamnoskcaj

        Thanks again. The autohotkey script worked great. I’m exploring other ways to use it as well (it’s a little hairy, but serves the purpose well). I loved your app’s design and had hoped it would do this in a nice gui. Maybe someday…

        Until then, thanks again for all your help!

  2. Cassey

    Note – first line of script should be:
    #IfWinActive, ahk_class XLMAIN

    Note the comma!


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.