Results 1 to 10 of 10

Specific comment (picture) on each specific item in a dropdown list

Threaded View

  1. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Specific comment (picture) on each specific item in a dropdown list

    I believe you can click edit and then manage attachments and upload.

    Here is what I used and it worked fine.

    Private Sub Worksheet_Change(ByVal Target As Range)
        If Target.Address = "$C$6" Then
            newpic = "C:\aaa\Pics\" & Range("C7").Value
            Target.Comment.Shape.Fill.UserPicture newpic
        End If
    End Sub
    Make sure the path with the files exists, you have you vlookup in C7, and the names of the files in column B. Also, make sure the code is in the worksheet module. Right click on the sheet tab and view code.
    Last edited by jeffreybrown; 05-21-2011 at 11:20 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1