First did you try the macro, did it work, if not were you clear what to do,
ie first select cell then select the shape then run the macro.
I only follow about half of what you describe below. left margin - does that
mean in column-A, don't need to know the dimensions, at least I don't see
why.
IF your shapes are always smaller than the cell and IF they are certain to
be located with their respective cells before you run the macro, then Jim's
macro should be good for you (though as written it will process ALL shapes
on the sheet but easily adapted).
Otherwise you need to be able to relate (to us) the shapes to their
respective cells in some way, eg by shapes name or its index to respective
cell addresses. Providing there's a way to link each shape to a cell a macro
should fall into place.
Regards,
Peter T