AdaptiveMenu Property

Microsoft Office Visual Basic

True if an individual menu is enabled to use adaptive menus. Read/write Boolean.

Note  This property will not function while the AdaptiveMenus property is set to False.

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.

CommandBars("File").AdaptiveMenu = False
		

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.