export images from excel to folder with Id number as a name of picture

arshab

New Member
Joined
Oct 18, 2018
Messages
18
I have and excel file. in sheet1 column A is serial number column B is ID Number, Column C is image of a person, and column D is Name, now I want to export photograph to C/temp in jpg format, in the place of name i need there ID number wich is in column B, in vba, there are more then 1000 rows , pls help
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
it worked
wow trying to solve this from so many years, then i tried mrexcel, and bro you sove my problem thanx a lot
 
Upvote 0
Is the resolution lower than when you save an image manually?

Try changing
Code:
    saveObject.CopyPicture xlScreen, xlPicture
to
Code:
    saveObject.CopyPicture xlScreen, xlBitMap
but I doubt it will make a difference, because you can't increase the resolution higher than the original.
 
Upvote 0
hi now I have almost 5000 jpg images, ID Number as a name in C:\Temp, I want to some code that if i write id number image automataclly appear, so the excel file does not get heavy and lanthy
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,824
Members
449,470
Latest member
Subhash Chand

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