+ Reply to Thread
Results 1 to 3 of 3

Link cell to picture

  1. #1
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2016
    Posts
    146

    Link cell to picture

    I would like to create a list of part numbers in sheet 1 of my spreadsheet and link it to a picture tat i inserted into sheet 2. I will ahve a bunch of pictures that i randomly insert into sheet 2 but i will name them the same as the part number i put in the sheet 1 list. i hust want to be able to click on a specific part number and it take me to that picture in sheet 2.

    see attached
    Attached Files Attached Files
    Last edited by davesexcel; 01-27-2021 at 02:03 PM.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Link cell to picture

    Rename Picture to 123
    Then put this code in Sheet1

    Please Login or Register  to view this content.
    Double Click A2 in Sheet1
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2016
    Posts
    146

    Re: Link cell to picture

    so i am not sure what i am missing. i downloaded your attachment and it works fine.

    on my version of the same spreadsheet i renamed the picture, right clicked on sheet1, went to view code, and pasted in your formula from the post. when i click on A2 i get an error that says "runtime error '424' object required.

    I also copied the formula from your code in your attachment (because it has "option Explicit" at the top and i get a different error that says "compile error variable not defined"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Link Picture with camera tool cell ref auto detail summary
    By majidsiddique in forum Excel General
    Replies: 9
    Last Post: 08-03-2020, 10:56 AM
  2. [SOLVED] Modify VBA to insert picture embedded in file instead of a link to a picture
    By edthedrummer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-25-2017, 02:12 AM
  3. Replies: 0
    Last Post: 01-20-2017, 01:53 PM
  4. [SOLVED] Insert Picture in cell, click commanbutton to rename picture, lock cell and remove button
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2014, 10:05 PM
  5. Link picture to a server path depending on a cell reference
    By Kraecki in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2011, 08:49 AM
  6. [SOLVED] How can I link a picture to a particular cell in excel?
    By scottykaminski17 in forum Excel General
    Replies: 1
    Last Post: 01-24-2006, 01:50 PM
  7. How do I link a picture to a text cell
    By Chippy_Mark in forum Excel General
    Replies: 3
    Last Post: 06-26-2005, 05:51 AM

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