Hi
If you want to insert a picture in merged cells, you won't get the results
you expect using Toms example. It works great if you resize the cell to
the size you want the picture to be first, but not for merged cells.
Sharad's example will work on merged cells if modified
to include the first and last cell in the merged cells area like this.
Dim Rng As Range
With Worksheets("Sheet1")
Set Rng = .Range("g9:j17")
.Shapes.AddPicture "C:\pictures\Sample.jpg", msoFalse, _
msoTrue, Rng.Left, Rng.Top, Rng.Width, Rng.Height
End With
You can also use a named range by defining a name like "PictureRange"
and then using Toms code modified like this .
Range("PictureRange").Select
Set pic = ActiveSheet.Pictures.Insert("C:\pictures\Sample.jpg")
pic.Height = Range("PictureRange").Height
pic.Width = Range("PictureRange").Width
to place the picture in a merged cell range.
You may find that these options give you greater flexibility in laying out
portions of your worksheet.
HTH
Ken