Each menu on the Add-Ins tab requires a separate
AddMenu
action.
加载项选项卡上的每个菜单都需要单独的
AddMenu
操作。
For custom shortcut menus and global shortcut menus, the menu macro should contain just one
AddMenu
action.
创建自定义和全局快捷菜单时,仅在菜单宏中定义一个
AddMenu
操作。
You can create multiple levels of submenus by using
AddMenu
actions in the macro groups for each level of menu.
您可以
使用每个级别菜单的宏组中的 AddMenu 操作来创建多个级别的子菜单
。
Menu macros should contain only
AddMenu
actions.
菜单宏应该只包含
AddMenu
操作。
You can create a submenu for a custom menu or a custom shortcut menu by using the
AddMenu
action in a macro group specified by the Menu Macro Name argument.
Create a menu macro that contains an
AddMenu
action for each drop-down menu you want on the custom or global menu.
创建菜单宏并
为自定义或全局菜单中所需的每个下拉菜单定义 AddMenu/添加菜单操作
。
Adds a menu to a custom menu bar for a form or report. Each menu on the menu bar requires a separate
AddMenu
action. Also, adds a custom shortcut menu for a form, form control, or report, and adds a global menu bar or global shortcut menu for all Microsoft Office Access windows. Press F1 for help on this action.
将菜单添加到窗体或报表的自定义菜单栏。菜单栏中的每个菜单都需要
AddMenu
操作。此外,还可以向窗体、窗体控件或报表添加自定义快捷菜单,并向所有 Access 窗口添加全局菜单栏和全局快捷菜单。按 F1 寻求帮助。
You can use the
AddMenu
action to create
您可以使用
AddMenu
操作创建以下菜单栏和快捷菜单栏:
Create a menu macro that contains an
AddMenu
action for each drop-down menu you want on the custom or global menu. For custom shortcut menus and global shortcut menus, the menu macro should contain just one
AddMenu
action.
The submenu contains the commands defined by the macros in the macro group specified by the Menu Macro Name argument for the
AddMenu
action.
此子菜单显示在
AddMenu/添加菜单
操作的菜单宏名称参数中指定的宏组的宏中定义的命令。
If you put an
AddMenu
action in such a macro group, Access creates a submenu with the menu name and status bar text specified by the Menu Name and Status Bar Text arguments for this
AddMenu
action.
Menu Macro Name/
菜单
宏名称
AddMenu/将菜单添加
到参数中指定的宏组中 添加操作时,Menu Name/菜单名称 参数中指定的菜单名称和 Status Bar Text/状态栏文本 参数中指定的状态创建带有栏文本的子菜单。
The Macro Name and Comment columns of such an
AddMenu
action (which normally specify the command name and status bar text for a command on the custom menu) are ignored, since this action defines a submenu, not a command on the top-level menu.
Conversion Finished! One or more of the macros that you converted contained an
AddMenu
action. Since there is no Visual Basic equivalent, these have been commented out in the generated code.
转换完成。一些已转换的宏包括
AddMenu/ Add Menu
。由于没有与此等效的 Visual Basic,因此这些内容在生成的代码中被注释掉。
AddMenu
actions can be used only in a menu macro specified by the MenuBar or ShortcutMenuBar property of a form, form control, or report, or by the Menu Bar box or Shortcut Menu Bar box under Ribbon and Toolbar Options in the Access Options dialog box, available by clicking the Microsoft Office Button, clicking Access Options, and then clicking Current macros should contain only
AddMenu
actions.
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@603704@1
The action or method requires a Macro Name argument. * You tried to use the RunMacro action or method, but you left the Macro Name argument blank. |9 tried to create a custom menu bar for a form or report, but the Menu Macro Name argument of the
AddMenu
action is blank.@In the Menu Macro Name argument, enter the name of a macro or macro group that is in the current database.@1@1
Each menu on the Add-Ins tab requires a separate
AddMenu
action.
加载项选项卡上的每个菜单都需要单独的
AddMenu
操作。
For custom shortcut menus and global shortcut menus, the menu macro should contain just one
AddMenu
action.
创建自定义和全局快捷菜单时,仅在菜单宏中定义一个
AddMenu
操作。
You can create multiple levels of submenus by using
AddMenu
actions in the macro groups for each level of menu.
您可以
使用每个级别菜单的宏组中的 AddMenu 操作来创建多个级别的子菜单
。
Menu macros should contain only
AddMenu
actions.
菜单宏应该只包含
AddMenu
操作。
You can create a submenu for a custom menu or a custom shortcut menu by using the
AddMenu
action in a macro group specified by the Menu Macro Name argument.
Create a menu macro that contains an
AddMenu
action for each drop-down menu you want on the custom or global menu.
创建菜单宏并
为自定义或全局菜单中所需的每个下拉菜单定义 AddMenu/添加菜单操作
。
Adds a menu to a custom menu bar for a form or report. Each menu on the menu bar requires a separate
AddMenu
action. Also, adds a custom shortcut menu for a form, form control, or report, and adds a global menu bar or global shortcut menu for all Microsoft Office Access windows. Press F1 for help on this action.
将菜单添加到窗体或报表的自定义菜单栏。菜单栏中的每个菜单都需要
AddMenu
操作。此外,还可以向窗体、窗体控件或报表添加自定义快捷菜单,并向所有 Access 窗口添加全局菜单栏和全局快捷菜单。按 F1 寻求帮助。
You can use the
AddMenu
action to create
您可以使用
AddMenu
操作创建以下菜单栏和快捷菜单栏:
Create a menu macro that contains an
AddMenu
action for each drop-down menu you want on the custom or global menu. For custom shortcut menus and global shortcut menus, the menu macro should contain just one
AddMenu
action.
The submenu contains the commands defined by the macros in the macro group specified by the Menu Macro Name argument for the
AddMenu
action.
此子菜单显示在
AddMenu/添加菜单
操作的菜单宏名称参数中指定的宏组的宏中定义的命令。
If you put an
AddMenu
action in such a macro group, Access creates a submenu with the menu name and status bar text specified by the Menu Name and Status Bar Text arguments for this
AddMenu
action.
Menu Macro Name/
菜单
宏名称
AddMenu/将菜单添加
到参数中指定的宏组中 添加操作时,Menu Name/菜单名称 参数中指定的菜单名称和 Status Bar Text/状态栏文本 参数中指定的状态创建带有栏文本的子菜单。
The Macro Name and Comment columns of such an
AddMenu
action (which normally specify the command name and status bar text for a command on the custom menu) are ignored, since this action defines a submenu, not a command on the top-level menu.
Conversion Finished! One or more of the macros that you converted contained an
AddMenu
action. Since there is no Visual Basic equivalent, these have been commented out in the generated code.
转换完成。一些已转换的宏包括
AddMenu/ Add Menu
。由于没有与此等效的 Visual Basic,因此这些内容在生成的代码中被注释掉。
AddMenu
actions can be used only in a menu macro specified by the MenuBar or ShortcutMenuBar property of a form, form control, or report, or by the Menu Bar box or Shortcut Menu Bar box under Ribbon and Toolbar Options in the Access Options dialog box, available by clicking the Microsoft Office Button, clicking Access Options, and then clicking Current macros should contain only
AddMenu
actions.
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@603704@1
The action or method requires a Macro Name argument. * You tried to use the RunMacro action or method, but you left the Macro Name argument blank. |9 tried to create a custom menu bar for a form or report, but the Menu Macro Name argument of the
AddMenu
action is blank.@In the Menu Macro Name argument, enter the name of a macro or macro group that is in the current database.@1@1