+ Reply to Thread
Results 1 to 5 of 5

Hyperlink to selected pic in cells

  1. #1
    Registered User
    Join Date
    09-27-2018
    Location
    Ohio
    MS-Off Ver
    19
    Posts
    21

    Hyperlink to selected pic in cells

    Hi All,

    As a new business owner I want to make things easy as I can for my accountants and myself. Part of that is creating an Excel file that has certain columns where when you click a cell in a row and it it asks for a jpeg file to use as reference. This would be for receipt tracking and validating if it was paid or not. So lets say column G was the link to the bill itself and Column H was the receipt. How can I simply click on the cell and have it ask for a reference to the appropriate jpeg or pdf file then hold that reference? Im going to make a master read only template then copy the original file over to a new folder each time based upon month. Just need to figure out how to link a line item expenditure to a pic.

    FYI I'm making this for someone who has very little experience with Excel. I could easily hyperlink to a file but would be nice to just click it and have it ask for the pic.

    Thanks!
    CJ
    Last edited by pizzaguy4487; 04-30-2022 at 07:13 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Hyperlink to selected pic in cells

    Please read the yellow banner at the top of this page on how to attach a sample workbook.

  3. #3
    Registered User
    Join Date
    09-27-2018
    Location
    Ohio
    MS-Off Ver
    19
    Posts
    21

    Re: Hyperlink to selected pic in cells

    Well, thanks for that. Since Im starting from scratch I dont really have an example workbook of what I tried and didn't try. After an exhaustive search for days not knowing how to explain it I finally ran across the correct answer.

    Create a userform and then a text box with the following code:
    Please Login or Register  to view this content.
    I know how to add text box info to a worksheet, just didnt know how to call explorer to enter a selection into a text box.

    Unbelievably simple yet something I would have figured you guys may have already known.

    Sorry for wasting your time and mine. I wasnt looking for a hand out, just a direction where to go. Look at my post count since 2018. Very small. I try to figure it out myself before bothering anyone.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Hyperlink to selected pic in cells

    Unbelievably simple yet something I would have figured you guys may have already known.
    Did you notice the lack of responses you received from your question?
    Zero responses would indicate nobody knows what you are asking, which is why I asked for a sample workbook hoping that would help you clarify your question.
    Next time put some more effort into your question.
    Unbelievably simple yet something I would have figured you may have already known.

  5. #5
    Registered User
    Join Date
    09-27-2018
    Location
    Ohio
    MS-Off Ver
    19
    Posts
    21

    Re: Hyperlink to selected pic in cells

    Quote Originally Posted by pizzaguy4487 View Post
    How can I simply click on the cell and have it ask for a reference to the appropriate jpeg or pdf file then hold that reference?
    Sorry davesexcel, I meant no offense. I guess I was too wordy in my description, so it probably turned a lot of people off to answering. As far as an example worksheet, I was starting from scratch so all that would have been there is a blank sheet.

    I do sincerely appreciate all the help you folks have given for years upon years, and humbly apologize for the wording I used.

+ 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. Modify Macro Formula - Auto Hyperlink Selected Cells
    By mielkew27 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-20-2017, 01:36 AM
  2. VBA to create column of hyperlinks and any selected hyperlink in the same tab
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2016, 12:03 AM
  3. Can I use a Hyperlink to send a Workshheet from a selected workbook to a selected E Mail A
    By daviddavid in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2014, 05:14 PM
  4. Hyperlink selected text
    By penfold1992 in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2014, 12:15 PM
  5. Make selected cell in if/loop a hyperlink
    By Sc0tt1e in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2014, 06:40 AM
  6. Test if hyperlink has been selected
    By Jimbo77 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2014, 08:18 AM
  7. hyperlink to take me on a worksheet when selected.
    By axidburn in forum Excel General
    Replies: 6
    Last Post: 12-22-2011, 05:16 PM

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