Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Changing ToolTips for a Macro Button.

Changing ToolTips for a Macro Button

by Allen Wyatt
(last updated June 25, 2018)

Calvin has a number of custom buttons on his toolbars, each of them assigned to a macro. He would like to change the ToolTip that appears when he positions the mouse pointer over the buttons. He wonders how he goes about changing the ToolTip associated with a macro button.

Many people think that you can change the ToolTip by simply following these steps:

  1. Choose Customize from the Tools menu. Word displays the Customize dialog box.
  2. Right-click on the toolbar button. Word displays a palette of options. (Make sure you right-click on the actual button, not on anything within the Customize dialog box.)
  3. Click the Name option and change it.
  4. Close the Customize dialog box.

These steps won't do it, however. What this changes is the name that appears if you display command names on the toolbars. If you want to change the ToolTip (which appears when you hover the mouse pointer over the button), you need to use a macro. Microsoft makes this clear in this Knowledge Base article:

http://support.microsoft.com/kb/171595

The macro provided in the article is this one:

Sub ChangeToolTip()
    With CommandBars("Standard") ' The name of your toolbar
        With .Controls("My Custom Button") ' The name of the button
            .TooltipText = "My Custom Tip" ' The ToolTip text
        End With
    End With 
End Sub

In order to use the macro, all you need to do is change the three options called out by the comments—the name of the toolbar, the name of the button, and the text you want used for the ToolTip.

If you are changing the ToolTip for a built-in button, you only need to run the macro once; Word remembers the ToolTip from that point forward. If you are changing the ToolTip for a button that is only visible when certain templates are open, you'll want to run the macro when that template is loaded. Save the template, and then you won't need to run the macro any more.

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 (10508) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Changing ToolTips for a Macro Button.

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

Adjusting Formulas when Pasting

The Paste Special feature in Excel can be used to uniformly adjust values and formulas. This tip shows how powerful this ...

Discover More

Copying Worksheet Code Automatically

When creating a workbook to be used by others, you may want any worksheets they add to the workbook to contain some ...

Discover More

Dealing with Large Numbers of Seconds

When adding values to a time to calculate a new time, you may naturally choose to use the TIME function. This can cause ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Controlling Repagination in Macros

Want to turn off document repagination while your macro does its work? Here are two approaches you can use.

Discover More

Inserting Text with a Macro

Need to have your macro insert a bit of text into your document? It's easy to do using the TypeText method.

Discover More

Getting User Input in a Dialog Box

Want to grab some interactive input from a user in your macro? The best way to do that is with the InputBox function, ...

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 2 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.