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. ...


Displaying Messages When Automatic Data Changes

It is possible to develop macros that update the information in your worksheets automatically. In such instances, you may ...

Discover More

Automatically Setting Right Leader Tabs

If you have a constant need to define tabs at the edge of the right margin, you'll love the macro-based technique ...

Discover More

ExcelTips: Amazing Array Formulas (Table of Contents)

Array formulas allow you to accomplish amazing things with your data, including things you cannot do with regular ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Putting a Macro Name on the Quick Access Toolbar

In older versions of Word you could customize the program so that either icons or text (or both) could appear on the ...

Discover More

Removing Styles from the Quick Access Toolbar

Got something on the Quick Access Toolbar that you don't need there anymore? Here are two quick ways to get rid of that item.

Discover More

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

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}] (all 7 characters, in the sequence shown) 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 two less than 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.


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.