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:
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:
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.
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!
Wouldn't it be great if Word could execute a macro every time someone typed in a particular keyword or phrase? Word may ...
Discover MoreWant to turn off document repagination while your macro does its work? Here are two approaches you can use.
Discover MoreWhen processing a document in a macro, you may need to make some of your text bold. It's easy to do using the Bold ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2020-10-13 11:52:52
Willow Tough
Hello, this macro appears to either not work or I am stupid. I add the whole script and run it and it has an erroe for the name of the botton. So I cannge the name and it still errors?
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.
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments