为某“页”或“选项卡”分配快捷键Assign an accelerator key for a Page or Tab

  1. 在设计模式中, 选择单个**页面** 或**选项卡。请务必选择 "页面" 或 "选项卡", 而不是关联的多页** 或**TabStrip**。In design mode, select an individual Page or Tab. Be sure to select the Page or Tab, not the associated MultiPage or TabStrip. 在选择 PageTab 时,PageTab 的标题周围会出现矩形。When a Page or Tab is selected, a rectangle appears around the caption of the Page or Tab.

  2. 右键单击选定的 PageTabRight-click the selected Page or Tab.

  3. 从快捷菜单中选择“重命名”****。From the shortcut menu, choose Rename.

  4. 在 "重命名" 对话框中, 在 "加速键" 字段中输入单个字符。In the Rename dialog box, enter a single character in the Accelerator Key field.

提示

[!提示] 使用控件标题中的字符。Use a character from the caption of the control. 请注意,选定字符在控件标题中具有下划线。Note that the selected character is underlined in the control's caption.

另请参阅See also

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.