+ Reply to Thread
Results 1 to 2 of 2

How to update hyperlink address based on cell values?

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    Tampa
    MS-Off Ver
    Excel 2010
    Posts
    54

    How to update hyperlink address based on cell values?

    Hello,

    I am looking for a solution to be able to modify a single hyperlink address based on two cell values.

    Example: A1=42 & B1=0000 == www.website.com/files/0000/42
    When cell value in A1 changes from 42 to 43 and/or B1 changes, I would like the hyperlink address to change.
    Solution when: A1=43 & B2=9999 == www.website.com/files/9999/43

    A macro when clicked, executing the task will work if necessary.

    Any help is appreciated!

    D

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to update hyperlink address based on cell values?

    Use the HYPERLINK() formula to create the link dynamically.


    =HYPERLINK("http://www.website.com/files/" & B1 & "/" & A1", "Link")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. [SOLVED] Update a cell based on the values in multiple cells
    By RobJay in forum Excel General
    Replies: 5
    Last Post: 09-10-2014, 03:35 AM
  2. Change a cells address based on values in another cell.
    By exclusiveicon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2014, 06:21 PM
  3. Replies: 1
    Last Post: 07-24-2013, 11:51 AM
  4. Hyperlink points to address based on input from 2 cells
    By CKD777 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-15-2011, 04:18 PM
  5. Change cell values based on Active Cell Address in Excel 2007 with no VBA
    By bdmistri in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2009, 02:01 PM
  6. Update Screen Location based on cell address
    By ItsMillerTime in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2008, 02:29 AM
  7. Excel email address hyperlink does not update
    By Michael in forum Excel General
    Replies: 1
    Last Post: 08-02-2005, 10:05 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