VBA & Macro Problems

Fix the Picture Property in an Excel VBA UserForm Image Control

Kushani NimanthikaKushani Nimanthika Nov 12, 2026 869 views

Question details

The user needs to insert or assign an image through the Picture property of an Excel VBA UserForm control.

Fix the Picture Property in an Excel VBA UserForm Image Control
Product
Microsoft Excel Visual Basic for Applications (VBA) UserForm
Device & OS
not provided
Scenario
The user is designing an Excel VBA UserForm and wants to load a picture into the form or an Image control.
Observed behavior
The button next to the Picture property is unresponsive or does not successfully load an image file.
Before you start

Open the workbook in Excel and press Alt+F11 to access the Visual Basic Editor. Identify whether you want to assign the image to the UserForm itself or to a specific Image, CommandButton, or other control.

Solution 1Recommended

Select the correct UserForm control before setting the Picture property

Use this method when the Picture property dialog does not appear to affect the expected object or the selected control is unclear.

The Properties window applies settings only to the object currently selected in the Project Explorer or UserForm designer. A UserForm and an Image control have separate Picture properties.

1
Open the UserForm designer

In Excel, press Alt+F11, then in Project Explorer expand your VBA project and double-click the required UserForm.

2
Select the target object

Click the UserForm background to set its properties, or click the Image control on the form to set that control's properties. Confirm the object name shown at the top of the Properties window.

3
Open the Picture property

In the Properties window, find Picture and click the button in its value field to browse for an image file.

4
Confirm the result

Choose a supported image file and click Open. If you selected an Image control, verify that the image appears inside that control on the UserForm.

Select the correct UserForm control before setting the Picture property
Check the selected object: If the property belongs to a different selected object, the image may load but not appear where you expect on the UserForm.
Free Microsoft Office alternative

Use WPS Office for everyday Excel workbook editing

If the issue is limited to Microsoft Excel's VBA UserForm designer, WPS Office does not repair that Office installation or its specific control behavior. WPS Office is a free, lightweight alternative for opening, editing, and sharing everyday spreadsheet files with a familiar interface and an easy transition from Excel.

  1. 1. Install WPS Office: Download and install WPS Office, then open WPS Spreadsheets from the WPS Office home screen.
  2. 2. Open your Excel workbook: Select Open and choose the .xlsx, .xls, or .xlsm workbook you want to review or edit.
  3. 3. Edit and save in a compatible format: Use Menu > Save As and choose an Excel workbook format when you need to share the file with Microsoft Excel users.
Free and lightweight suite for routine spreadsheet workFamiliar spreadsheet interface for users moving from Microsoft ExcelCompatible with Microsoft Excel .xlsx and .xls workbook formatsOpens macro-enabled .xlsm workbooks for file access and reviewUseful for editing worksheet data while Excel VBA UserForm issues are diagnosed
microsoft office alternative - wps office

Frequently Asked Questions

Why does the Picture property affect the wrong item on my VBA UserForm?

The Properties window applies changes to the currently selected object. Click the UserForm or the specific control in the designer, then verify its name at the top of the Properties window before choosing Picture.

Which control should I use to display a picture on an Excel VBA UserForm?

Add an Image control from the VBA Toolbox, select it in the UserForm designer, and use its Picture property. You can then adjust PictureSizeMode in the Properties window to control how the picture is displayed.

What should I do if clicking the Picture property button does nothing?

First test the same property on an Image control in a newly inserted UserForm. If the button is still unresponsive, restart Excel, record File > Account > About Excel details, and run a Microsoft Office Quick Repair from Windows Settings.

Can I load an image into a VBA UserForm with code instead of the Properties window?

Yes. In the UserForm code module, assign the file with code such as Image1.Picture = LoadPicture("C:\path\image.jpg"). Replace Image1 and the file path with your actual control name and image location.

What information is needed to diagnose a VBA UserForm picture-loading problem?

Provide your Excel version, Office 32-bit or 64-bit status, the UserForm control name, the image file format, and the exact behavior or error message shown when you use the Picture property.