I want to add some custom options to context menu when user right clicks on a cell. I have fond some solutions but these are document level solutions or by using Addin Express.
I am building a COM Addin in VSTO C#.
Here is the example of required output.
It doesn’t matter whether VSTO or Add-in Express is used for building the add-in. The Fluent UI (aka Ribbon UI) is common for all kind of COM add-ins. You can read more about the Fluent UI which is used for customizing context menus in Office applications in the following series of articles:
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)
The whole process of customizing context menus is described in the Customizing Context Menus in Office 2010 article.