Rename pictures and export them into JPG files

gameboybin

New Member
Joined
Jun 13, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi everyone, i have this excel files that contains a lot of pictures and names of the people in the picture.

Can anyone help me create a macro or something to Rename those pictures into names of Column A and extract those pictures with that name???

Many Thanks!
 

Attachments

  • 448206294_3795860143993261_8313681758385910303_n.jpg
    448206294_3795860143993261_8313681758385910303_n.jpg
    35.8 KB · Views: 8

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi *gameboybin and Welcome to the Board! See the code at this link...
Change this line of code and it should work.....
VBA Code:
Call CreateJPG(sh.Name, CStr(.Range(sh.TopLeftCell.Address).Offset(, -2)), sh)
HTH. Dave
Note: You will need to adjust the folder loacation code in the CreateJPEG sub and ensure that the folder exists
FolderLoc = "C:\testfolder\" ....... change this line of code to suit
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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