VBA - Copy linked images in column A to embedded individual pictures in column N

treazon

New Member
Joined
Oct 12, 2017
Messages
11
Hi All

I have found a macro that imports images to Excel based on the filename of pictures in a folder on my computer. This works well so I'm not looking to change this macro.

I can then select each image in column A and copy and paste it as a picture into column N, which then embeds it into the document and enables me to send the document via e-mail including the pictures. However, this is very time consuming so it'd be great if someone could come up with a VBA code to do this automatically!

So to summarise:

1) Copy cell A2
2) Paste special -> paste as picture into cell N2
3) Copy cell A3
4) Paste special -> paste as picture into cell N3
5) Repeat for the remainder of column A until it reaches a blank cell

Thanks in advance!

Ben
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I forgot to mention that I have pretty much zero VBA knowledge... I intend to learn soon but in the meantime please help me. I've got to get this finished by tomorrow and this will help massively. Hopefully it shouldn't be too difficult!
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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