Adding hot keys in Office for my AddIn

David Thielen 3,121 Reputation points
2021-01-12T14:55:11.683+00:00

Hi all;

We have a COM (not VSTO) AddIn for Word, Excel, & PPT. We've added hotkeys to our part of the ribbon.

However, we would also like to add hotkeys for some actions that can not be done through the ribbon (they're items in a drop down menu in the ribbon). Is there a way to add hot keys to Office?

And if the answer is intercepting the message pump, are there any special do's or don'ts when implementing that.

And any suggestions about what we should do for our hotkeys to not get in the way of Office hotkeys?

Or is this all a very bad idea?

thanks - dave

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,006 questions
0 comments No comments
{count} votes

Your answer

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