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

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
choose a command bar menu animation style menu menu animation style Menu Animation Style Property menuanimation MenuAnimationStyle menuanimationstyle property ofv return the menu animation style for a command bar set the way a specified command bar is animated

See also: