Skip to main content

CommandBars.MenuAnimationStyle property

Table of contents
  1. Syntax
  2. Example

Gets or sets a MsoMenuAnimation that represents the way a command bar is animated. Read/write.

Syntax

expression.MenuAnimationStyle

expression A variable that represents a CommandBars object.

Example

This example sets options for all command bars in Microsoft Office.

With CommandBars
    .LargeButtons = True
    .DisplayTooltips = True
    .DisplayKeysInTooltips = True
    .MenuAnimationStyle = msoMenuAnimationUnfold
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>