Office Settings & Configuration

Fix Quick Access Toolbar Order and Customizations in Office 2016 RibbonX

Ayan MasoodAyan Masood Nov 13, 2026 869 views

Question details

The user wants shared template commands to appear in a predictable order without replacing a user's Quick Access Toolbar customizations.

Fix Quick Access Toolbar Order and Customizations in Office 2016 RibbonX
Product
Microsoft Office 2016 RibbonX
Device & OS
not provided
Scenario
A template uses CustomUI XML to add shared commands to the Quick Access Toolbar.
Observed behavior
Controls may appear in a different order from the XML, and attaching the template can replace the user's existing toolbar customizations.
Before you start

Identify the template and its existing CustomUI XML, and check which Office 2016 application and security policies will be used to open it. Determine whether the shared commands are built-in Office commands or require macro callbacks.

Solution 1Recommended

Move Shared Commands to a Custom Ribbon Tab

Use a custom Ribbon tab to group template commands without replacing the user's Quick Access Toolbar.

1
Open the template's RibbonX XML

Open the template in a RibbonX editor and locate its existing CustomUI XML.

2
Remove the toolbar customization

Locate the Quick Access Toolbar customization, typically the <qat> element, and remove it if the template no longer needs to change the QAT.

3
Add a custom tab

In the XML, add a custom tab and group under <ribbon><tabs>, then place the shared commands in that group in the desired order. Use appropriate built-in command IDs or callbacks for custom buttons.

4
Test the template

Save the template, attach or open it in the target Office application, and check that the custom tab appears and the user's QAT remains intact.

Move Shared Commands to a Custom Ribbon Tab
Check macro policies: Custom buttons that call VBA macros may not work when macros are disabled. A local template location alone does not guarantee that macros will run; test with the organization's security policy.
Free Microsoft Office alternative

Work with Office Templates in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Microsoft Office format compatibility helps you move existing files, though it does not fix Office 2016 RibbonX behavior.

Open and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar tabbed interface to access everyday commandsWork with templates for recurring document tasksMove existing Office files into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

Why are my RibbonX Quick Access Toolbar controls out of order?

Office 2016 may display controls in a different order from the CustomUI XML. The XML order alone should not be treated as a guarantee; test the template in the target Office application or group the commands on a custom Ribbon tab.

How can I avoid replacing a user's Quick Access Toolbar?

Remove the template's QAT customization from its CustomUI XML and put shared commands on a custom Ribbon tab instead. Reopen or attach the template to verify that the user's toolbar remains unchanged.

Where can I rearrange Quick Access Toolbar commands in Office 2016?

Open File > Options > Quick Access Toolbar, then use the move up and move down controls. If the application offers a template or document scope, select it before making changes.

Will a custom Ribbon button work if macros are disabled?

A button that calls a VBA macro may not work when macros are disabled. Check the organization's Office security settings and test the template; storing it on a local drive does not by itself guarantee that macros will run.