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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,215,001
Messages
6,122,648
Members
449,092
Latest member
peppernaut

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