Share via


CommandBars.MenuAnimationStyle Property

Office Developer Reference

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

Aa432307.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.MenuAnimationStyle

expression   A variable that represents a CommandBars object.

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

Visual Basic for Applications
  With CommandBars
    .LargeButtons = True 
    .DisplayTooltips = True 
    .DisplayKeysInTooltips = True 
    .MenuAnimationStyle = msoMenuAnimationUnfold
End With

See Also