Microsoft KB Archive/280595

= WD2002: ScreenTips Do Not Display Shortcut Keys for Custom Macro Buttons =

Article ID: 280595

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Word 2002 Standard Edition

-



This article was previously published under Q280595





SYMPTOMS
When you rest the mouse pointer over a customized macro button that is added to a toolbar, the ScreenTip does not display the shortcut key assigned to that macro, even though that option is enabled.



WORKAROUND
To work around this issue, manually set the TooltipText property to include the shortcut key. To do this, follow these steps:  On the Tools menu, point to Macro, and then click Visual Basic Editor. On the View menu, click Immediate Window to make it visible, if it is not already visible.  In the Immediate window, type the following line of code, and then press ENTER: CommandBars(&quot;Standard&quot;).Controls(x).TooltipText=&quot;MyMacro(CTRL+ )&quot; NOTE: Replace the &quot;x&quot; in &quot;Controls(x)&quot; with the position number of the macro button on the Standard toolbar, counting from the left. Replace with the letter or symbol that corresponds to the shortcut key that you assign to the macro.  On the File menu, click Close and Return to Microsoft Word. When you rest the mouse pointer over the macro button, the ScreenTip displays the name of the macro and the shortcut key.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
For more information about modifying a macro, click Microsoft Word Help on the Help menu, type edit a macro in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Additional query words: WD2002

Keywords: kbbug kbnofix KB280595

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.