Export each row as separate image of a selected range in VBA

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
348
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Hi Guys,
I want to export each row of my selection range as separate image in VBA.
Image name will be from the first column data.
Like as, S1001.jpg, S1002.jpg & go on.

Is it possible?
If yes, give me some idea with the code.

1575024133380.png
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
When I open the file , f1 contain 1 by default.
When I run the module f1 value changes to 10 & nothing else happen.

More over I want to export all images in a folder like "images" at my desktop.
Please advise.
 
Upvote 0
The images are saved in your current folder, which is probably your documents folder. I assumed you woule be able to change the code so it uses the folder you want.
 
Upvote 0
You are right, images save in documents folder.
But the images are blank without any data in it.
 
Upvote 0
Sorry dear, its still not working.
Also I didn't find any changes between the current file & earlier file.
Could you please recheck?
 
Upvote 0
How extremely annoying. If I set things up as they should be all is well. If I then save and close and reopen, Excel has wrecked the workbook in question. I give up.
 
Upvote 0
No problem, thanks for your help.
Hope someone else will come up with a solution.
 
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