Application.MenuBar Property

Access Developer Reference

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

Syntax

expression.MenuBar

expression   A variable that represents an Application object.

Remarks

When opening a database in Microsoft Office Access 2007 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's Add-Ins tab.