Userform - Picture inserted into image1 control based on what is populated into textbox 6

Ruis

New Member
Joined
Jul 21, 2010
Messages
1
I have looked thru 20-50 threads on how to insert a picture into an image control on my userform that I have created. I need the image to correspond to the data that gets populated into my textbox6. The data that’s populated into textbox6 is based on what the user selects in the previous cascading combobox’s (in this case it’s a toner for a printer). I want the image of the printer to display on the userform. I for the life of me cannot figure out how to get this to work. I have a worksheet (picturelog) that has all my images in it but I cannot get the userform to reference it. Thanks for any advance on this issue.
 

Some videos you may like

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
We can only load a picture file using something like

Image1.Picture = LoadPicture("c:\test.jpg")
 

Watch MrExcel Video

Forum statistics

Threads
1,122,233
Messages
5,594,963
Members
413,954
Latest member
mrsandy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top