+ Reply to Thread
Results 1 to 5 of 5

Cell linking to another document, can I make the path name link to a cell?

  1. #1
    Registered User
    Join Date
    01-27-2010
    Location
    leeds
    MS-Off Ver
    Excel 2003
    Posts
    8

    Cell linking to another document, can I make the path name link to a cell?

    I have a document that currently references a different excel workbook. Each month I update this piece of MI and have to change the folder it references as it changes each month.

    e.g. last month the cell might link to c:\work\January\MI.xls, whereas this month I would need to change the January to February.

    Is there a way to get the path name to reference a cell that contains the month in question.

    e.g. c:\work\$A$1\MI.xls where A1 contains the month.

    There are team members that update the document in any given month so Im wanting to make it as automated as possible

    Thanks

  2. #2
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Cell linking to another document, can I make the path name link to a cell?

    Hi,

    Most probably, what you are asking is feasible ...
    But ... beforehand, you do have to determine if you will be working with closed or opened workbooks ...

    HTH

  3. #3
    Registered User
    Join Date
    01-27-2010
    Location
    leeds
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cell linking to another document, can I make the path name link to a cell?

    It will be a closed book the cell is referencing

  4. #4
    Registered User
    Join Date
    01-27-2010
    Location
    leeds
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Cell linking to another document, can I make the path name link to a cell?

    Anyone able to help?

  5. #5
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Cell linking to another document, can I make the path name link to a cell?

    Hi,

    Your problem has already been addressed several times in the forum ...

    Since you are dealing with closed files, you should be looking into one the following :

    1. the UDF called PULL() that Harlan Grove wrote, which retrieves the value from a closed workbook.

    2. Laurent Longre has an addin (morefunc.xll) to be downloaded at: http://xcell05.free.fr/
    It includes the function indirect.ext() that solves your problem.

    3. For large queries, you might want to go into coding an SQL query

    HTH

+ 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