Article ID: 171595
Article Last Modified on 1/20/2007
Sub ChangeToolTip()
With CommandBars("Standard") ' The toolbar (command bar).
With .Controls("My Custom Button") ' The custom control.
.TooltipText = "My Custom Tip" ' The ToolTip to change or set.
End With
End With
End Sub
Note that you specify the name of the custom or existing toolbar
(instead of Standard). To determine the name of an existing toolbar, point to
Toolbars on the View menu. The name of the
toolbar appears in the list that is displayed. Remember to type the name of the
toolbar in the macro exactly as it appears on the list. 176476 OFF: Office Assistant Not Answering Visual Basic Questions
Additional query words: vba vbe vb offcon OFF97 OFF2003
Keywords: kbcode kbhowto kbinterop KB171595