+ Reply to Thread
Results 1 to 4 of 4

Hyperlink and changing file name

Hybrid View

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    24

    Hyperlink and changing file name

    Hi i am trying to use a hyperlink formula where i want to return a number from another sheet and create hyperlink to that number.

    I have used:

    =HYPERLINK("[Martin_0.xlsx]UW!D4"; UW!D4)

    Which gives me the correct value and creates the link. But if i change the file version to _1 or _2 the link doesnt work. What can i do to make the file name dynamic?

    Thanks

    Br

    Martin

  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: Hyperlink and changing file name

    You would need to possibly put the file name in another cell and refer to that in your formula, for instance D1 on that same sheet:


    =HYPERLINK("[" & UW!D1 & "]UW!D4"; UW!D4)
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    01-30-2013
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Hyperlink and changing file name

    Ok cool

    But how to i "call" the file name in D1 then? It changes when i do a save as?

    Thanks

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

    Re: Hyperlink and changing file name

    You would need to change it in that cell as well.

+ 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. Using Vlookup to pull hyperlink from Master Hyperlink file list.
    By theflyingnimbus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-02-2013, 01:42 PM
  2. Hyperlink to a changing file name
    By declangallen in forum Excel General
    Replies: 1
    Last Post: 01-18-2011, 09:35 PM
  3. Changing hyperlink defaults
    By Peter in forum Excel General
    Replies: 0
    Last Post: 09-23-2005, 10:05 AM
  4. Hyperlink changing row
    By tess in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-11-2005, 10:07 AM
  5. [SOLVED] Macro to Copy Hyperlink to another file as a HYPERLINK, not text...
    By dollardoc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2005, 08:07 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