A menu bar macro can only be run if the menu bar macro name is the setting used by particular properties or options.@You ...

A menu bar macro can only be run if the menu bar macro name is the setting used by particular properties or options.@You tried to run a menu bar macro containing the AddMenu action.
Set one of the following properties or options to the name of the menu bar macro:
* The MenuBar property of a form or report.
* The ShortcutMenuBar property of a form, report, or control.
* The Menu Bar or Shortcut Menu Bar option in the Startup dialog box.
This error also occurs if |9 attempts to run a menu bar macro containing an AddMenu action that follows an action that makes some other object the active object. For example, the OpenForm action.@@2@1@3704@1