Application.MenuBar Property (Access)

Specifies a custom menu to display for a Microsoft Access database. Read/write String.

expression .MenuBar

expression A variable that represents an Application object.

When opening a database in Microsoft Access 2010 that was created in an earlier version of Microsoft Access, the specified menu bar will be displayed differently depending on the curent settings of the AllowFullMenus and AllowBuiltInToolbars properties. If the AllowFullMenus and AllowBuiltInToolbars properties are set to False, the specified menu bar will replace the ribbon as the default set of commands available to the user. If the AllowFullMenus or AllowBuiltInToolbars property is set to True, then the specified menu bar is displayed on the ribbon Add-Ins tab.