On 28 nov, 10:37, paul.robin...@it-tallaght.ie wrote:
> > Hi
>
[quoted text clipped - 22 lines]
> regards
> Paul
Hi
The pictures ( and text and numbers) are inserted by an external
program on the first excelsheet. You said that a cell cannot contain a
picture, but I can use the Insert --> Picture to place a picture in a
cell. Or is that something different.
Access is not an option in my system.
Regards
paul.robinson@it-tallaght.ie - 28 Nov 2007 12:08 GMT
> On 28 nov, 10:37, paul.robin...@it-tallaght.ie wrote:
>
[quoted text clipped - 36 lines]
>
> - Show quoted text -
Hi
You will find that the picture is not "in" the cell. The picture has a
TopLeftCell property, which is the cell address of the top left corner
of the image. You can drag the image elsewhere on the sheet, so it is
not in the cell or attached to it in any way.
To capture a picture you would have to loop through all the pictures
on the sheet and check to see if the TopLeftCell of the picture is in
the row you are looking it. Then you could select that picture and
copy it to your new sheet. Things like comments and buttons count as
graphic objetcs too, so you would have to be careful not to include
those.
This can be done with VBA but not otherwise I think. Google this
newsgroup on "copy pictures in a range" or "delete pictures in a
range" to see some code.
regards
Paul