Private Sub Worksheet_Change(ByVal Target As Range)
Dim a As Shape, r As Single
If Dir(Target.Text) <> "" Then
ActiveSheet.Pictures.Insert(Target.Text).Select
Selection.ShapeRange.Top = Target.Top
Selection.ShapeRange.Left = Target.Left
r = Target.Width / Selection.ShapeRange.Width
Selection.ShapeRange.ScaleWidth r, msoFalse, msoScaleFromTopLeft
Selection.ShapeRange.ScaleHeight r, msoFalse, msoScaleFromTopLeft
Rows(Target.Row).RowHeight = Selection.ShapeRange.Height
Selection.Placement = xlMoveAndSize
Selection.PrintObject = True
Target.Select
End If
End Sub