Share via


CommandBars.DisplayTooltips Property

Office Developer Reference

Is True if ScreenTips are displayed whenever the user positions the pointer over command bar controls. Read/write.

Aa432263.vs_note(en-us,office.12).gif  Note
The use of CommandBars in some Microsoft Office applications has been superseded by the new Ribbon user interface. For more information, search help for the keyword "Ribbon."

Syntax

expression.DisplayTooltips

expression   A variable that represents a CommandBars object.

Remarks

Setting the DisplayTooltips property in a container application immediately affects every command bar in every running Microsoft Office application, and in every Office application opened after the property is set.

Example
This example displays large controls and ToolTips on all command bars.

Visual Basic for Applications
  Set allBars = CommandBars

allBars.LargeButtons = True allBars.DisplayTooltips = True

See Also