Assign a bitmap to a control

In the Properties window:

  1. Choose the Picture property.

  2. In the Picture dialog box, enter the name of the picture and its location.

If the picture is larger than the control, Microsoft Forms scales the picture to fit the control, regardless of whether you assign the picture through the Properties window or through code. The PictureAlignment property determines how it is aligned within the control.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.