Results 1 to 5 of 5

Relative external references (links)

Threaded View

aero_b Relative external references... 01-10-2011, 01:02 PM
6StringJazzer Re: Relative external... 01-10-2011, 02:07 PM
aero_b Re: Relative external... 01-10-2011, 02:33 PM
aero_b Re: Relative external... 01-10-2011, 04:05 PM
6StringJazzer Re: Relative external... 01-10-2011, 05:46 PM
  1. #1
    Registered User
    Join Date
    01-10-2011
    Location
    Ottawa, ON, Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Angry Relative external references (links)

    Hello,

    From what I've read so far, it's not possible to make an external reference relative. What I would like is for a cell in [WorkBook1]Sheet1 to have the same value as a cell in [WorkBook2]Sheet1, and for any modification in [WorkBook1]Sheet1 to be reflected automatically in [WorkBook2]Sheet1. This is easy enough to do as long as you never (EVER!) move the files, using external references (a.k.a. links). I need to move the files around, although I would always keep the folder structure around my cross-referenced files the same. Relative paths would be great, but MS doesn't seem to think that's important.

    Here's what I tried to do to outsmart Excel. I made cell A1 of the the sheet with all the x-refs contain the path of the file it is in (result: 'M:\Research\Thesis\DCB Tests\DCB Data\DataReduction\). I then made a few cells that contained the names of the x-referenced files in the appropriate format (e.g. in cell A2: [C02-04_AC_DataReduction_IIWN.xlsx]Report'!). Then, in the spot that I wanted the x-ref, I used the INDIRECT function: =INDIRECT(A1&A2&"F34") to refer to in 'M:\Research\Thesis\DCB Tests\DCB Data\DataReduction\C02-04_AC_DataReduction_IIWN.xlsx]Report'!F34.

    For some reason, this only works when the file I'm referring to is open, even though it now has a full-path reference which shouldn't need it to be open. Any ideas (I know I could write a macro that would do this for me, but didn't think I would need one)?
    Last edited by aero_b; 01-10-2011 at 04:06 PM. Reason: Changed to "Solved"

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