自定义工具箱图标Customize a Toolbox icon

  1. 右键单击**工具箱** 中的图标。Right-click the icon in the Toolbox.

  2. From the shortcut menu, choose Customize.From the shortcut menu, choose Customize.

  3. 执行以下操作之一:Do one of the following:

    • 若要更改 ToolTip,请为 ToolTip 输入新文本。To change the ToolTip, enter the new text for the ToolTip.

    • To edit the icon, choose Edit Picture.To edit the icon, choose Edit Picture. 选择要使用的颜色, 并在图像中选择要应用该颜色的像素。Choose the color you want to use and choose the pixel in the image where you want to apply that color.

    • To assign a new bitmap, choose Load Picture.To assign a new bitmap, choose Load Picture. 标识包含您要用作图标的位图的文件。Identify the file that contains the bitmap that you want to use as the icon. If you attempt to load a picture that is larger than an icon, an error occurs.If you attempt to load a picture that is larger than an icon, an error occurs.

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