+ Reply to Thread
Results 1 to 5 of 5

Using cell reference in a link

Hybrid View

Befuddled Using cell reference in a link 04-08-2010, 08:47 PM
NBVC Re: Using cell reference in a... 04-08-2010, 09:16 PM
Befuddled Re: Using cell reference in a... 04-08-2010, 09:36 PM
NBVC Re: Using cell reference in a... 04-08-2010, 09:41 PM
Befuddled Re: Using cell reference in a... 04-09-2010, 12:05 AM
  1. #1
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Using cell reference in a link

    Is there a way to make a formula like this work:
    ='N:\TTMA\TTMA-DieMnt\DPR\DPR 2010\[DPR 2010.xlsx]Totals'!G$113
    But like this
    ="'N:\TTMA\TTMA-DieMnt\DPR\DPR "&A1&"\[DPR "&A1&"2010.xlsx]Totals'!"G$113
    when I have 2010 in cell A1

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using cell reference in a link

    Try:

    =INDIRECT("'N:\TTMA\TTMA-DieMnt\DPR\DPR "&A1&"\[DPR "&A1&"2010.xlsx]Totals'!G$113")

    but it will only work with open referenced workbooks...

    For closed workbooks you might try to download a free addin from here: Morefunc.xll

    and replace INDIRECT with INDIRECT.EXT
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Re: Using cell reference in a link

    is there any other way? My system admin wont let us add anything like that

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using cell reference in a link

    Have a look here for your options:

    http://www.dailydoseofexcel.com/arch...sed-workbooks/

    The PULL UDF is a VBA macro that works the same as the INDIRECT() and works with closed workbooks.... I understand that it is not very efficient though... I have never used it myself.

  5. #5
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Henderson, KY
    MS-Off Ver
    Excel 2007
    Posts
    152

    Re: Using cell reference in a link

    Thanks.
    For what I was trying to do, its probably going to be easier to just use the replace function every year when I make the new sheet for that year. I was just rying to make it where anyone could follow behind me and change one cell in the workbook, that would change all of my links.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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