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.
 

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")
 

Forum statistics

Threads
1,082,555
Messages
5,366,293
Members
400,882
Latest member
zaldy_a

Some videos you may like

This Week's Hot Topics

Top