Macros On the Quick Access Toolbar

by Allen Wyatt
(last updated June 25, 2018)

1

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.

Note:

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

MORE FROM ALLEN

Changing the Orientation of Your Chart

Microsoft Graph is a great way to add simple charts to your documents. Once you've got a graph added, you might want to ...

Discover More

Friendly and Informative Error Handling

When creating macros, it is helpful to know what is going on within the macro itself in case an error crops up. Here's ...

Discover More

Making Draft View the Default View

Word normally uses Print Layout view to display your documents. You may want, instead, to always use Draft view. Here's ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

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

No Ribbon on New Documents

The way that you work with commands in Word is primarily through the ribbon. What do you do if the ribbon disappears when ...

Discover More

Removing Styles from the Quick Access Toolbar

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

Discover More
Subscribe

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

View most recent newsletter.

Comments

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 5 + 9?

2014-12-16 09:38:34

Wendy

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

Best,
Wendy


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
Subscribe

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.