user77027
user77027

Reputation: 11

Dynamically Customizing the Built-In Office 2007 Ribbon

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!

Upvotes: 1

Views: 1329

Answers (1)

Michael Regan
Michael Regan

Reputation: 1598

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

Upvotes: 1

Related Questions