“排列”按钮Arrange buttons

  1. 选择要排列的**命令按钮** 控件。Select the CommandButton controls to arrange.

  2. 从 "格式" 菜单中选择 "排列按钮"。From the Format menu, choose Arrange Buttons.

  3. 从级联菜单中选择以下选项之一:From the cascading menu, choose one of the following:

    • 底部: 将按钮放置在窗体的左下角开始并与所有按钮的底端对齐的行。Bottom, to put the buttons in a row starting at the bottom left corner of the form and align the bottoms of all buttons.

    • Right: 将按钮放在窗体右上角的列中, 并将所有按钮的右边缘对齐。Right, to put the buttons in a column starting at the upper-right corner of the form and align the right edges of all buttons.

在排列按钮之后,使用“格式”**** 菜单上的“水平间距”**** 或“垂直边距”**** 来调整按钮之间的间距。After you arrange the buttons, use either Horizontal Spacing or Vertical Spacing on the Format menu to adjust the spacing between the buttons.

提示

在选择此命令之前选择小网格大小以将按钮靠近窗体的底部或右侧放置。Select a small grid size before choosing this command to position the buttons close to the bottom or right of the form. 在按钮就位之后更改网格大小将不会更改按钮的位置。Changing the grid size after the buttons are in place will not change their position.

另请参阅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.