witamserdecznie
New Member
- Joined
- Jun 12, 2010
- Messages
- 34
Hi,
It is quite easy to find on the web how to insert a picture from a harddrive into comment in Excel.
goes like:
However how to show picture in a comment that is taken from activeworksheet? I.e. The pictures are already hidden in the worksheet and I just want them to show if appropriate value is selected in certain cells. How to do that?
Thanks,
witamserdecznie
It is quite easy to find on the web how to insert a picture from a harddrive into comment in Excel.
goes like:
Code:
If Target.Address = "$K$16" Then
NewPic = "C:\Users\witamserdecznie\Desktop\" & Range("$K$16").Value
Target.Comment.Shape.Fill.UserPicture NewPic
End If
Thanks,
witamserdecznie