Office Settings & Configuration

How to Add Macros from a Global Word Template to the Ribbon

Steve KSteve K Oct 19, 2026 870 views

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.

How to Add Macros from a Global Word Template to the Ribbon
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.
Before you start

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.

Solution 1Recommended

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.

1
Access QAT settings

Open Microsoft Word, go to the 'File' menu, select 'Options', and click on 'Quick Access Toolbar' in the left-hand navigation pane.

2
Select the macros filter

Under the 'Choose commands from' dropdown menu at the top left, select 'Macros'. This will list available macros loaded into your current Word session.

3
Choose your template storage

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.

4
Add the macro

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.

Add Macros to the Quick Access Toolbar (QAT)
Easy Portability: Keeping your QAT modification saved in the same template as the macros themselves makes it painless to move to another computer. Just drop the template into the new machine's Startup folder.
Free Microsoft Office alternative

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. 1. Download the software: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the installer and follow the fast, straightforward setup wizard to equip your computer with Writer, Spreadsheets, and Presentation.
  3. 3. Open macro-enabled templates: Launch WPS Writer and open your existing .docm or .dotm files to continue working seamlessly with your custom automations.
Excellent compatibility with Microsoft Office formats including .docm and .dotm filesSeamless support for executing advanced VBA macrosFamiliar ribbon interface that requires zero learning curveFree, lightweight, and fast to launch on any operating system
microsoft office alternative - wps office

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.