How to Add Macros from a Global Word Template to the Ribbon
Question details
The user needs to expose and access macros that are stored in a global Word template by placing them on the Ribbon or the Quick Access Toolbar.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Customizing the Word interface to make custom macros from a globally loaded template easily accessible during daily document editing.
- Observed behavior
- Word's built-in Customize Ribbon dialog frequently fails to display macros stored in global templates located within the Startup folder, requiring an alternative setup approach.
Ensure that your template file (.dotm) containing the macros is properly saved and placed in the designated Word Startup folder. You should also verify that your Trust Center settings allow macros to run.
Add Macros to the Quick Access Toolbar (QAT)
This is the simplest and most portable method to create clickable buttons for your global macros directly through the Word user interface.
Instead of struggling with custom XML code, attaching your macros to the Quick Access Toolbar (QAT) allows for a quick setup. By saving the QAT modifications directly into the global template itself, the setup becomes fully portable and can easily be shared with other users or transferred to new computers.
Open Microsoft Word, go to the 'File' menu, select 'Options', and click on 'Quick Access Toolbar' in the left-hand navigation pane.
Under the 'Choose commands from' dropdown menu at the top left, select 'Macros'. This will list available macros loaded into your current Word session.
On the right side of the window, locate the 'Customize Quick Access Toolbar' dropdown and change it from 'For all documents (default)' to your specific global template file.
Select the desired macro from the left-hand list and click the 'Add >>' button to move it to the right-hand column, then click 'OK' to save your changes.

Customize the Ribbon via Office RibbonX Editor
Use this advanced method if you need fully customized, dedicated tabs or groups on the Ribbon for your global macros.
A Powerful and Free Office Alternative for Your Macro Workflows
If you frequently rely on macros, templates, and advanced document processing, WPS Office is an exceptional choice. It offers powerful compatibility with Microsoft Office formats and macro workflows in a remarkably lightweight and fast package.
- 1. Download the software: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the fast, straightforward setup wizard to equip your computer with Writer, Spreadsheets, and Presentation.
- 3. Open macro-enabled templates: Launch WPS Writer and open your existing .docm or .dotm files to continue working seamlessly with your custom automations.

Frequently Asked Questions
Where is the Word Startup folder located?
On Windows, the default Word Startup folder is typically located at '%appdata%\Microsoft\Word\STARTUP'. Placing your macro-enabled template in this directory loads it globally whenever Word opens.
Why aren't my macros showing up in the Customize Ribbon menu?
The Customize Ribbon dialog often only pulls macros from the currently active document or Normal.dotm template. Macros stored in an add-in or a global template loaded from the Startup folder usually will not populate in this UI list, which is why XML customization or QAT placement is required.
Can I share my customized Ribbon or QAT with coworkers?
Yes. If you save your Quick Access Toolbar customization or the RibbonX XML directly into the same global template file that houses your macros, you can simply share that single file. When coworkers place it in their Startup folder, the macros and the UI buttons will load together.




