Gets or sets the text displayed in a CommandBarControl's ScreenTip. Read/write.
Note The use of CommandBars in some Microsoft Office applications has been superseded by the new ribbon component of the Microsoft Office Fluent user interface. For more information, search Help for the keyword "ribbon."
expression. TooltipText
expression A variable that represents a CommandBarControl object.
String
By default, the value of the Caption property is used as the ScreenTip.
This example adds a ScreenTip to the last control on the active menu bar.
Set myMenuBar = CommandBars.ActiveMenuBar
Set lastCtrl = myMenuBar _
.Controls(myMenuBar.Controls.Count)
lastCtrl.BeginGroup = True
lastCtrl.TooltipText = "Click for help on UI feature"