C# – Dynamically Customizing the Built-In Office 2007 Ribbon

coffice-2007ribbonvsto

I'm trying to dynamically customize the built-in Ribbon Controls on an Office2007 ribbon by adding C# objects such as RibbonTab, RibbonGroup, RibbonControl to the Ribbon. I have been unsuccessfull in disabeling any existing built-in controls, however I can add my own group. Now i'm thinking that disabling or hiding existing ones not be possible.

If anyone been able to hide a built-in control using code or the designer using .NET VSTO Office 2007 development, can you please post the code you used?

Thanks!

Best Answer

Here is a Stackoverflow question that talks about overriding built-in ribbon commands. Here is an MSDN video that shows it as well.

Related Topic