Report.MenuBar property (Access)

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

Syntax

expression.MenuBar

expression A variable that represents a Report object.

Remarks

When opening a report in Microsoft Access that's part of a database that was created in an earlier version of Access, the specified menu bar will be displayed differently depending on the current 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, the specified menu bar is displayed on the ribbon Add-Ins tab.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.