+ Reply to Thread
Results 1 to 4 of 4

Two Linked Files But I Change Files Names Each Job

  1. #1
    Registered User
    Join Date
    02-24-2010
    Location
    Lincoln, Nebraska, US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Two Linked Files But I Change Files Names Each Job

    Hi,

    I basically have two files lets say file A and file B. File B has more than 20 cells that are linked to file A. The problem am afraid off is that each job I name files differently based on the custormer name or what ever. I want to use the same files content (as a template) for each job with the links between them as is but I belive file B (which will be D) will not recognize cells in file C because it is linked to file A.

    I am trying to get your help if there is a way to have file B or D update links and have them change file name (not cell locations) automatically. As you know a link between two seperate files will include the file name between brackets followed by worksheet name and cell number as shown:

    ='[A.xls]sheet1'!B10

    To make it even simpler, if I input file A's name in a cell in file B, can I use the content in that cell to update the linked cells path i.e. change the previous file name with the name in that cell and keep sheet name and cell number the same?? Is this possible???

    I really appreciate your help and suggestions. If someone has a butter idea he is more than welcome

    thanks

    Haab
    Last edited by barrha0b; 02-25-2010 at 10:37 AM.

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

    Re: Two Linked Files But I Change Files Names Each Job

    Yes you can use content of cell like this:

    =INDIRECT("'["&X1&".xls]sheet1'!B10")

    where X1 contains the file name to reference..

    This only works with open referenced workbooks...

    To work with closed workbooks you need to download a free add in called Morefunc and apply formula as

    =INDIRECT.EXT("'["&X1&".xls]sheet1'!B10")
    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
    Registered User
    Join Date
    02-24-2010
    Location
    Lincoln, Nebraska, US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Two Linked Files But I Change Files Names Each Job

    Thank you it worked, you are so great

  4. #4
    Registered User
    Join Date
    08-29-2013
    Location
    new york, new york
    MS-Off Ver
    Excel 2013
    Posts
    76

    Re: Two Linked Files But I Change Files Names Each Job

    I came upon this thread in searching for answers to my own question. I tried what the post above said to try, but cant seem to get it to work. Does this not work in Excel 2013?

+ 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