Skip to main content

CommandBars.DisplayTooltips property

Table of contents
  1. Syntax
  2. Remarks
  3. Example

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

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.

Set allBars = CommandBars
 
allBars.LargeButtons = True
allBars.DisplayTooltips = True

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>