CommandBars.AdaptiveMenu Property
Is True if an individual menu is enabled to use adaptive menus. Read/write.
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."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.AdaptiveMenu
expression A variable that represents a CommandBars object.
Note
|
|---|
| This property will not function while the AdaptiveMenus property is set to False. |
Remarks
This property checks or unchecks the check box control for the option to show an individual menu as full or personalized. Only recently used submenus show up in a menu if this property is set to True. All submenus show up if this property is set to False.
Example
This example sets the AdaptiveMenu property to False for the File menu in the Microsoft Office application you're working in.
| Visual Basic for Applications |
|---|
|
Note
|
|---|
This property works only when the specified command bar (File in this case) is the MSOBarTypePopup. A RunTime Error is returned when this property is used with another command bar type such as MSOBarTypeMenuBar. |
Note