Shortcuts Key implementation is not working in Desktop Office 365 Excel Plugin

priyanka anusuri 20 Reputation points
2026-07-21T06:28:25.7133333+00:00

Hi ,

I am experiencing an issue with keyboard shortcuts defined in shortcuts.json.

I have added shortcuts.json to the manifest using ExtendedOverrides, specified the url property, and associated the actions using Office.actions.associate(). This setup works correctly when the Microsoft 365 Office Add-in is running in the browser.

However, when I sideload the same manifest in the Excel desktop application, the keyboard shortcuts defined in shortcuts.json do not trigger at all.

I followed the implementation steps from the Office Add-in sample: https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/office-keyboard-shortcuts

Is there any additional configuration or a different approach required to enable keyboard shortcuts in the Excel desktop application?

Thanks in advance for your help.

Microsoft 365 and Office | Development | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Teddie-D 19,760 Reputation points Microsoft External Staff Moderator
    2026-07-21T07:27:25.3066667+00:00

    Hi @priyanka anusuri

    Based on your description, there isn't any additional configuration required specifically for the Excel desktop application. If the same manifest and implementation work in Excel on the web, the desktop client should also recognize the keyboard shortcuts provided that the required prerequisites are met.

    To help narrow down the cause, could you confirm the following?

    • What is your Excel version and build (File > Account > About Excel)?
    • Does your add-in use a shared runtime, and is Office.actions.associate() being called successfully during initialization?
    • Do all shortcuts fail to trigger in Excel desktop, or only specific key combinations?
    • Have you tried resetting Office Add-in shortcut preferences to rule out a shortcut conflict?

    Also, if you haven't already, please verify that your add-in meets the documented requirements for custom keyboard shortcuts, including the required requirement sets and supported Excel versions.

    Please know that while our initial response might not resolve the issue right away, your input is incredibly valuable. With a bit more detail, we’ll work together to find the best solution for you. 


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.