Paste Image Offset

preitano

New Member
Joined
Apr 1, 2015
Messages
11
Hi,

I am attempting to paste several overlapping images into a cell. The process works perfectly until the third image is pasted, because Excel seems to want to offset any subsequent images by increasing amounts.

If that is not quite clear, I have a sheet that contains 10 images: 5 backgrounds and 5 overlays. All of the images are transparent PNGs that are exactly the same size.
My goal is place 1 - 5 of the overlays on top of a background to show the results of an inspection - it is meant to look similar to a trivial pursuit game piece.

The background lands perfectly.
The first overlay lands perfectly.
The second overlay is offset and does not line up with background.
The third overlay is offset further and does not line up with background.

Maybe the problem is that I am using activesheet.paste. Is there some other method of placing images on a sheet?

I've attached a screenshot that compares the pasted offset with a set where all of the images have the same x,y.

Thank you for any insight you can offer.
stars.png
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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