How about insert comment pictures ?
Place this code in cell B2
="C:\MyPicture\"&A2&".jpg"
And run this code:
VB:
Option Explicit
Sub Add_Comments()
Dim myPict As Object
Dim curWks As Worksheet
Dim myRng As Range
Dim myCell As Range
Set curWks = Sheets(1)
With curWks
Set myRng = .Range("B2", .Cells(.Rows.Count, "B").End(xlUp))
End With
curWks.Columns("F").ClearComments
For Each myCell In myRng.Cells
If Trim(myCell.Value) = "" Then
ElseIf Dir(CStr(myCell.Value)) = "" Then
MsgBox myCell.Value & " Doesn't exist!"
Else
With myCell.Offset(0, 0)
.AddComment("").Shape.Fill.UserPicture (myCell.Value)
End With
End If
Next myCell
End Sub
Bookmarks