Professional Documents
Culture Documents
Dim i As Picture
Dim j As String
On Error Resume Next
If target.Address = Range("o3").Address Then
ActiveSheet.Pictures.Delete
j = "c:\Photo\" & Range("o3") & Value & ".jpg"
With Range("j9")
Set i = ActiveSheet.Pictures.Insert(j)
i.Height = 98
i.Width = 95
i.Top = .Top
i.Left = .Left
i.Placement = xlMoveAndSize
End With
End If