galileogali
Well-known Member
- Joined
- Oct 14, 2005
- Messages
- 748
I have got a Image (on Worksheet):
ActiveSheet.Shapes("Image 1")
and
wdt = Range("A1").ColumnWidth
hgt = Range("A1").RowHeight
How do I get to match the shape sizes to the size of the cell?
ActiveSheet.Shapes("Image 1").Width = wdt
ActiveSheet.Shapes("Image 1").Height = hgt
In this way does not work well
ActiveSheet.Shapes("Image 1")
and
wdt = Range("A1").ColumnWidth
hgt = Range("A1").RowHeight
How do I get to match the shape sizes to the size of the cell?
ActiveSheet.Shapes("Image 1").Width = wdt
ActiveSheet.Shapes("Image 1").Height = hgt
In this way does not work well