» Edit the tooltip for toolbarbuttons using VBA in Microsoft Excel
VBA macro tip contributed by Erlandsen Data Consulting offering Microsoft Excel Application development, template customization, support and training solutions
CATEGORY - Menus, Toolbars, Status bar in VBA
VERSION - All Microsoft Excel Versions
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
Book Store:
Recommended Books:
- Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses
- Microsoft Windows XP Inside Out
- Business Plans Kit for Dummies (With CD-ROM)
- Seven Habits Of Highly Effective People
- Special Edition Using Microsoft Excel 2002
- Fish! A Remarkable Way to Boost Morale and Improve Results
No comments have been submitted.

