PDA

View Full Version : add a picture to comment



lior03
03-17-2008, 01:18 AM
hello
i wanted to add a picture to a comment

With selection
.AddComment
.Comment.Visible = True
.Comment.Text Text:="moshe ben - avraham:" & Chr(10) & ""
.ShapeRange.Fill.UserPicture "F:\???''?\???\My Pictures\01-F-B29-S82.jpg"
End With

what is wrong with my code?
thanks

Andy Pope
03-17-2008, 01:33 AM
Try this,


.Comment.Shape.Fill.UserPicture "F:\???''?\???\My Pictures\01-F-B29-S82.jpg"


Assumes the file path is valid.