Share via


Form.MenuBar Property (Access)

Specifies a custom menu to display for a form. Read/write String.

Version Information

Version Added: Access 2007

Syntax

expression .MenuBar

expression A variable that represents a Form object.

Remarks

When opening a form in Microsoft Access 2010 that is part of a database 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.

See Also

Concepts

Form Object Members

Form Object