You could use this macro:
Sub InsertPictures()
Dim row As Long
Dim picPath As String
Dim Picture As Object
Dim dHeight As Double
Dim dWidth As Double
Dim myImg As Object
row = 1
On Error Resume Next
While Cells(row, 1) <> ""
Cells(row, 5).Select
'picPath = "D:\Asbestikum Design Files\Weekly Reports\Log & Slides\Slides\" + Cells(row, 4)
picPath = "C:\documents and settings\44264520\desktop\" + Cells(row, 4)
Set myImg = ActiveSheet.Pictures.Insert(picPath)
'Set Picture = Selection
'set cell height to picture size
With myImg
dWidth = .Width
dHeight = .Height
.Width = 100
.Height = 75
End With
myImg.Top = ActiveCell.Top
myImg.Left = ActiveCell.Left
Rows(row).RowHeight = myImg.Height
row = row + 1
Wend
End Sub
Regards,
Antonio
Bookmarks