Skip to main content

CommandBars.DisplayFonts property

Table of contents
  1. Syntax
  2. Example

Is True if the font names in the Font box are displayed in their actual fonts. Read/write.

Syntax

expression.DisplayFonts

expression A variable that represents a CommandBars object.

Example

This example sets three options for all command bars in Microsoft Office, including custom command bars and the controls on them.

With CommandBars
    .LargeButtons = True
    .DisplayFonts = True
    .AdaptiveMenus = True
End With

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>