Macros On the Quick Access Toolbar

by Allen Wyatt
(last updated June 25, 2018)


Valerie is having a problem with getting her macros to stay on the Quick Access Toolbar. She can create a macro and save it to the QAT, but when she closes Word and reopens it, the macro is no long on the toolbar. She wonders how to save the macro to the toolbar and not compromise security settings.

When you modify your Quick Access Toolbar, those changes are stored in one of two places, depending on the version of Word you are using. If you are using Word 2007, they are stored in a file called Word.QAT. If you are using Word 2010, they are stored in a file called Word.OfficeUI. You can use the search capabilities built into Windows to locate these files on your system.

It appears that what is probably happening is that your security settings (meaning, those imposed by your company) results in these files being either erased or regularly overwritten. If you are using Word 2010, you can determine if this is the case by not only adding a macro to the Quick Access Toolbar, but also making some customizations to the ribbon. (These customizations are also stored in Word.OfficeUI. If, when you restart Word, those changes are nowhere to be seen, then you can be fairly sure that the configuration file is being overwritten.

Perhaps the easiest way to deal with this is to make your changes, get out of Word, find the configuration file, and make a copy of that file. You can then—next time you are ready to start Word—check to see if the file has changed. (Just compare the existing version that will be loaded by Word with the copy you made.) If they are different, you can copy your backup into the place of the "official" configuration file and then start Word.

Such a procedure could easily be automated by creating a batch file to do the comparing and copying. If you prefer, you can also talk to your company's network administrators and see if there is anything that can be done to stop the overwriting in the first place.


If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11511) applies to Microsoft Word 2007 and 2010.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...


Specifying an Order for Page Printing

When the data on a worksheet occupies more than one printed page, Excel can easily determine where the first page of data ...

Discover More

Out of Memory Errors when Accessing the VBA Editor

It can be frustrating when you get error messages doing something that you previously did with no errors. If you get an ...

Discover More

Selecting a Sentence

Need to select an entire sentence? It's easy by making one small adjustment to how you click the mouse.

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Customizing the Quick Access Toolbar

When you customize Word, the common place to make your changes is in the Quick Access Toolbar. This tip explains what the ...

Discover More

Making a Longer Quick Access Toolbar

The Quick Access Toolbar is where you put all the tools to which you need quick access. (Makes sense, huh?) There are ...

Discover More

Copying the Quick Access Toolbar

Customization of Word is done, largely, through what you add to or remove from the Quick Access Toolbar. When you have ...

Discover More

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 4 + 7?

2014-12-16 09:38:34


Hi Allen

Your hints are great, thanks.

On Friday, you posted a VBA macro to copy tables in one document to a new blank document. I followed your instructions and it worked.

This morning I clicked the icon and it no longer functioned. The macro icon is saved on the QAT but the macro itself is no longer saved in the Macros section. All the macros I created yesterday are no longer listed. I use Word 2010 (Windows 7 from 2009).

A long search on Google doesn't seem to answer where or why they've gone and, more importantly, how to get them back. I saw this post but not sure if it's relevant (or what to do if it is).


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.