Share via

Word 2016/custom Ribbon

Anonymous
2019-05-07T05:24:36+00:00

Hi all,

back 5+ years ago, I've been creating simple letter and document templates under Windows 7/Word 2010.

CI/CD dictated some "interesting" stuff so I included a very small dose of VBA to toggle graphics on/off depending on printing on letterhead or plain paper. For that, a custom ribbon was added (*.exportedUI).

IT has been distributing the templates (*.dotm) and the ribbon.

Now we have clients with Windows 10/Word 2016, and the custom ribbon is missing.

Has anything changed concerning creation/distrubition of *.exportedUI?

Thanks for any pointers, and greetings from Switzerland,

Robert

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

10 answers

Sort by: Most helpful
  1. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2019-05-22T08:31:43+00:00

    Hi Robert,

    The only difference between ribbon customization for Word 2007

    and for later versions

    is the reference to the schema in the first line of the xml code

    When creating ribbon customizations, I always include the code for both 2007 and 2010 (and later versions) so that the add-in can be used for all ribbon based versions of Word

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Charles Kenyon 167.6K Reputation points Volunteer Moderator
    2019-05-15T12:59:07+00:00

    You should not be modifying the OfficeUI file to modify the Ribbon.

    Your modifications could definitely go into the template itself. The OfficeUI file is for modifications made using the user interface in Word and has a number of limitations.

    Modifying the Ribbon in Microsoft Word

    The ribbon has been something that could be customized in individual documents or templates since Word 2007. 

    If you want customizations to be global, you put a template with the customizations in the Word Startup Folder.

    Here are some of my templates designed to work this way:

    Feel free do download them and examine the XML.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2019-05-07T09:05:59+00:00

    Hi Robert,

    In Word 2010, running under WIndows 7, if you go to File>Options>Advanced>General>File Locations and select the Startup item and then click on Modify and then right click on the Address Bar and then click on Copy address as text, you will be able to past the path to the folder into a document so that you can see it in full.

    I will be astounded if it is not there!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2019-05-07T08:04:14+00:00

    Hi Robert,

    My experience is with ribbon customization in a macro enabled template in:

    C:\Users%username%\AppData\Roaming\Microsoft\Word\Startup

    With that arrangement, ribbon customizations have worked, and work, in the same way in all versions of Word from 2007 up to the very latest.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2019-05-07T06:59:03+00:00

    Hi Robert,

    In my experience, nothing has changed.  However what did you mean by distributing the templates (*.dotm) and the ribbon?

    Was the ribbon customization created in a template that was stored in the Word Startup folder, which would be the place to have it, if the ribbon customization was required to be available for use with all documents.

    If you want to send me a copy of the files, I will investigate the problem in 2016, 2019 and Word in Office 365.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments