VBA Code to extract image form word doc and input into VBA form.

Omen666blue

New Member
Joined
Aug 13, 2012
Messages
39
Hi guys, I have a staff details macro that searched for staff details when a name is input.

what I would like is the staff members picture to be displayed (via the VBA form) when the name is searched.

each employee has a word document containing their details and a single picture of themselves each file is named exactly the same, lets call it EMP_Data.doc for argument sake. each file is saved in the owing managers folder

so for instance when a employee is searched I would lie Excel to search Depot/Manager/Name/staff details/EMP_Data.Doc.

and pull the photo of the employee. The photo does not need to be saved anywhere else JUST displayed on search.


If this possible and does anyone have some useful sample code?

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,215,509
Messages
6,125,219
Members
449,215
Latest member
texmansru47

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