How to remove built-in ribbon tabs in Word 2010 - Ribbon Designer? RRS feed


All replies

  • Hi Tim,

    Thanks for posting in the MSDN Forum.

    As fa as I know, that Ribbon Designer will not allow people hide or show tab after ThisAddIn_Startup method has been done. So Application_WindowActivate & Application_WindowDeactivate events will not affect it.

    I hope what I said can help you.

    Have a good day,


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, March 21, 2012 5:51 AM
  • Hi Tim,


    But normally the User should have all the Standard Office functionality, to give the user a good experience.

    Greets - Helmut

    Helmut Obertanner [] []

    Wednesday, March 21, 2012 7:03 AM
  • Tom

    Thanks for the reply.

    I am currently using the Application_WindowActivate & Application_WindowDeactivate events
    to hide/show custom tabs that I have created with the Ribbon Designer. But I also need to hide/show the builtin tabs.


    • Edited by Tim_Shaf Thursday, March 22, 2012 1:29 PM
    Wednesday, March 21, 2012 1:52 PM
  • Helmut,

    Thanks for the reply.

    There are very strict requirements for the documents that use these templates\addin.
    The Standard Office functionality will allow users of these templates to break these rules which results in alot of cleanup work. We have found it it much better to restrict the functionality so that it is easier for the users to comply with the requirements.

    In Word 2003, we were very successful in restricting the functionality of the interface.
    I have moved all the routines from vba to a Word addin and I am now trying to restrict the interface.

    The article that your referenced is the same one I referenced.

    Thanks again for your reply.


    Wednesday, March 21, 2012 2:06 PM
  • Hi Tim,

    Your initial post asks "Could you provide a code snip or a reference to get me going in the right direction?"

    Here are references and links that discuss ways to resolve your issue:

    A good place to start is Cindy Meister’s reply in the following Forum thread:
    Possible to Hide Built-in Ribbon Elements

    She quotes Frank Rice, referring to this MSDN article:
    Introduction to the Office 2010 Backstage View for Developers

    Where Frank answers this question:
    Can I repurpose one of
    the existing definitive command buttons, fast command buttons, or tabs by
    changing its onAction callback attribute? For example can I change the file
    Save button so that is has an additional type, or displays only one file type?

    It is not possible to override these commands
    from the custom UI XML markup or by using the object model. Using the DocumentBeforeSave
    event is one alternative, but using that doesn't really change the
    functionality of the individual commands that show up in the Change File
    gallery in the Backstage. A better solution would be to consider
    hiding the built-in UI and rebuilding it fully with custom commands.

    The following links are to content that expands on concepts used by developers:
    Getting Started with Office 2010 Fluent UI Customization

    Display and Hide Tabs, Groups, and Controls on the Microsoft ...

    In the above article see the topic “Using the getVisible Attribute with Built-in Tabs”
    Creating Custom Tabs in the Office 2010 Backstage View

    Ribbon Extensibility in Office 2010: Tab Activation and Auto...

    Programmatically Customizing the 2007 Office Fluent User Interface

    Temporarily Repurpose Commands on the Office Fluent Ribbon

    Chris Jensen
    Senior Technical Support Lead

    Chris Jensen

    • Marked as answer by Tim_Shaf Thursday, March 22, 2012 9:07 PM
    Thursday, March 22, 2012 5:57 PM
  • Chris,

    Thanks for the references.

    It is now clear that I cannot show/hide the builtin tabs via my addin.
    I will need to create custom tabs to my addin to replace the builtin tabs
    to expose the desired functionality.

    Since I need to show the builtin tabs when the activedocument attached template
    is not one of my custom templates, I will need to create another addin as a
    controller to load/unload my addin.

    I have found some references for this controller type functionality, but they are
    older. If you know of any recent ones for vs2010 or office 2010, I would appreciate if you could post the references.

    Thanks for the help.


    Thursday, March 22, 2012 9:07 PM