+ Reply to Thread
Results 1 to 2 of 2

Link different workbooks (cells) and choose file through a cell content

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Belgium, Antwerp
    MS-Off Ver
    Excel 2011 Mac
    Posts
    1

    Link different workbooks (cells) and choose file through a cell content

    Hello,

    How can I link in a formula different Excel-files?
    This seems simple but I want to select the file name by typing the name in a cell in my destination file.

    I'm using the INDIRECT function but can I introduce in this function also the file name, choosen from a cell in my workbook?

    Thanks already!


    Extra info : =INDIRECT("'["&B1&"]"&$A$2&"'!"&$C$1)
    B1 = filename source file
    A2 = sheet name source file
    C1 = cell reference source file

    But this keeps giving a error on reference. And both files are open....
    (I'm working on Mac)

    EDIT :
    Problem solved. Apparently you need to add the extension ".xlsx" in de file name.
    Last edited by wilver; 11-05-2013 at 08:03 AM. Reason: SOLVED MYSELF

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Link different workbooks (cells) and choose file through a cell content

    Thanks for providing the solution. In future, please post it in post 2, so the question and answer are clear and distinct from each other.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Link one textbox to many cells to view cell's content
    By Terrafai in forum Excel General
    Replies: 1
    Last Post: 03-07-2012, 01:56 PM
  2. Replies: 4
    Last Post: 09-09-2011, 01:47 PM
  3. Link a cells content AND format
    By jbowman18 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-29-2007, 11:05 AM
  4. I WANT DATA TO LINK WITH OTHER WORKBOOKS ACORDING TO CELL CONTENT.
    By HUGO PIENAAR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-28-2006, 09:50 AM
  5. link cell content to another file
    By blackstar in forum Excel General
    Replies: 2
    Last Post: 04-03-2006, 10:25 PM

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