+ Reply to Thread
Results 1 to 2 of 2

Use Cell data to link to another file

  1. #1
    Registered User
    Join Date
    08-19-2009
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    16

    Use Cell data to link to another file

    I have the following formula that grabs data from cell C24 in another Excel File:

    ='O:\PRODMONTH\Production2013\[fw38_13.xls]Mon'!$C$24

    The bold value, 38, is also a value in the current file's cell, A261. How do I incorporate that cell data into the filename in the equation?

    The next line, same equation, but would be ='O:\PRODMONTH\Production2013\[fw39_13.xls]Mon'!$C$24, with the 39 coming from cell A262...

    Also, B261 contains the date. Is there a way to change the text on the "MON" tab (also in bold) based on the date field in B261? For Example, to Mon, Tue, Wed, etc...
    The next line, same equation, but would be ='O:\PRODMONTH\Production2013\[fw38_13.xls]Tue'!$C$24, the the TUE coming from the date field in B262

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Use Cell data to link to another file

    You can probably do this using the INDIRECT() function, however, it does not work with closed files To get it to work with closed files, you will need to download and install the MoreFunc add-in
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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: 5
    Last Post: 08-27-2013, 03:15 PM
  2. Replies: 0
    Last Post: 08-23-2013, 07:57 AM
  3. Replies: 1
    Last Post: 07-14-2007, 07:25 AM
  4. Replies: 3
    Last Post: 01-18-2006, 11:00 AM
  5. Drag and drop to create a link to a file in a cell of an Excel file
    By paulaugust2003@yahoo.com in forum Excel General
    Replies: 2
    Last Post: 09-18-2005, 11:05 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