UserForm Button to asign picture to activex control

LearningOnMyOwn

New Member
Joined
Jan 4, 2017
Messages
4
I have a userform I am creating to view and insert photos. I have a large Image Box that is nice for viewing. It is linked to show the picture that is used in the activex control in the document. I would like to add a button to the userform that once clicked, will prompt the insert picture box to show just like when the activex photo button is clicked. This way they can add the photo from the form, it will then fill the activex control, and then the image box on the userform will mirror the photo for better viewing. I need help with a code that will basicly edit the properties and pop up the window to select a photo from file
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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
Back
Top