+ Reply to Thread
Results 1 to 3 of 3

Issue with relative references between workbooks

  1. #1
    Registered User
    Join Date
    09-08-2010
    Location
    Montenegro
    MS-Off Ver
    Excel 2010
    Posts
    82

    Issue with relative references between workbooks

    Hi. I'd appreciate help on this issue. I need to reference different workbooks, which itself is not an issue, but I have a problem with retaining relative references between workbooks, so I can transfer them to another computer.

    I've found out that relative references work fine in two cases:

    a) If source workbook is in the same folder as destination workbook (root folder), or
    b) If source workbook is in another folder within root folder, and destination workbook is in root folder.

    However, if source workbook is in one folder within root folder, and destination workbook is in another folder within root folder, then relative references do not seem to work - Excel displays full path (C\users\user\folder..., etc.), and when I move entire root folder to another destination, references get broken and destination workbook cannot be updated.

    I hope I managed to explained it well; I speak of this structure:

    Root folder
    -> Folder 1
    --> Source workbook
    -> Folder 2
    --> Destination workbook

    The structure must remain this way, source workbook must be in its own folder, and destination workbook in its own different folder. Is there a way to preserve relative references, so I can transfer root folder to another PC?

    The same issue appears if source workbook is in root folder, and destination workbook is in another folder within root folder; although that specific case is not of interest for me.

    It seems that destination file must be in the same folder as source workbook, or above that folder, must not be below that folder. Any way to circumvent it?

    I have read the article here: https://support.microsoft.com/en-gb/kb/328440 , but it's not of much help for me.

  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: Issue with relative references between workbooks

    With documents moved to whatever your new locations are, do this:

    1) Open the MAIN workbook in the new location
    2) Select the option to UPDATE LINKS
    3) Select the external document in the window that is no longer working/moved
    4) Select the option the CHANGE SOURCE
    5) Find and select the new external document in its new location.
    6) Save your main workbook and close

    When you open the main workbook now you should no longer need to edit the links.
    _________________
    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
    09-08-2010
    Location
    Montenegro
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Issue with relative references between workbooks

    Thanks for reply! I hoped there would be a method, to facilitate it at the time of creation the references, without editing them later.

    If I have to edit them later, then it might be easier to do it the way I do it now - use "Replace" facility to replace old path with the new one within formulas.

    Problem is that there are 365 source and destination workbooks, one per day, so it's annoying to keep updating the references...

+ 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. Replies: 6
    Last Post: 06-02-2014, 01:40 PM
  2. How to for converting absolute references to relative references in formulas
    By edspyhill01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-11-2014, 02:09 AM
  3. Relative References?
    By PleaseHelpMe123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2013, 09:39 AM
  4. Excel 2007 : Relative References
    By SDHofmann in forum Excel General
    Replies: 9
    Last Post: 08-20-2011, 12:33 PM
  5. Replies: 1
    Last Post: 01-18-2010, 10:44 PM
  6. Replies: 1
    Last Post: 01-07-2010, 11:03 AM
  7. Replies: 1
    Last Post: 08-18-2009, 04:01 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