+ Reply to Thread
Results 1 to 5 of 5

Hyperlinks:How would I do this?

  1. #1
    Registered User
    Join Date
    02-18-2010
    Location
    NAFB, NV
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Hyperlinks:How would I do this?

    Let’s suppose I have a hyperlink to a folder “C:\Program Files” {=HYPERLINK("C:\Program Files")} in cell A1. In cell A2, I want to add/reference that hyperlink to the first folder in the C:\Program Files folder using the A1 hyperlink location as a reference. How would I do this? You see, I have hundreds of folders that I want to hyperlink to on a network. The final folder name doesn’t change, but the location does. I want to be able to simply change the reference location, in A1, and have it update the rest of the sheet.

  2. #2
    Valued Forum Contributor jj72uk's Avatar
    Join Date
    03-22-2008
    Location
    Essex, England
    MS-Off Ver
    Work - Office 2000, Home - Office 2007E
    Posts
    360

    re: Hyperlinks:How would I do this?

    You'd need to concatenate the formula,

    So you'd need to add

    "&A2&"

    Just like that into your hyperlink string

    Eg

    =HYPERLINK("C:\Program Files\"&A2&"")

  3. #3
    Registered User
    Join Date
    02-18-2010
    Location
    NAFB, NV
    MS-Off Ver
    Excel 2007
    Posts
    3

    re: Hyperlinks:How would I do this?

    I was trying to avoid having to type in the whole path in each cell. Basically I should ony have to type something like this:

    =HYPERLINK("A1", "\Adobe") and have it take me to the 'C:\Program Files\Adobe' folder. Can't seem to get it right though. This way if cell A1 'C:\Program Files' changes to, say, 'C:\Program Files 1', I can simply update the A1 cell and have the rest of the hyperlinks to their respective folders.

    Thanks for the idea though.

    Any other suggestions please?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    re: Hyperlinks:How would I do this?

    =HYPERLINK(A1& "\Adobe")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    02-18-2010
    Location
    NAFB, NV
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question re: Hyperlinks:How would I do this?

    Thanks martin. I'll give it a go.

    It worked. It did NOT like the friendly name.
    Last edited by jbfriday1; 02-19-2010 at 01:16 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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