|
||||
These pages are no longer updated and are only available for archive purposes.Click here to visit the pages with updated information. Edit the tooltip for toolbarbuttons (Office97 and later)The examples below uses the New-button on the Standard toolbar as an example. You can replace "Standard" with the name or number of another CommandBar, and the number of the Control you want to edit. Use this macro to change the tooltip text: Sub ChangeToolTipsText() Application.CommandBars("Standard").Controls(1).TooltipText = "Test" End Sub Use this macro to reset the tooltips text: Sub ResetToolTipsText() Application.CommandBars("Standard").Controls(1).TooltipText = "" End Sub Use this macro if you want to reset all custom settings for a Control:: Sub ResetAllControlSettings() Application.CommandBars("Standard").Controls(1).Reset End Sub If you don't know the name or number for the different CommandBars and their Controls you can use the tool CommandBar Tools.
Document last updated 2000-02-05 12:47:00 Printerfriendly version
|
||||
|