向用户窗体添加控件

若要将 ActiveX 控件 添加到用户窗体,请在 工具箱中找到要添加的控件,将控件拖到窗体上,然后拖动控件上的调整手柄,直到控件的轮廓是所需的大小和形状。

注意 将控件 (或多个“分组”控件) 从窗体拖回 工具箱 ,将创建该控件的模板,该模板可重复使用。 This is a useful feature for implementing a standard interface for your applications.

When you've added controls to the form, use the commands on the Format menu in the Visual Basic Editor to adjust the control alignment and spacing.

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。