+ Reply to Thread
Results 1 to 3 of 3

Referencing a filename in a cell

Hybrid View

  1. #1
    Registered User
    Join Date
    12-19-2007
    Posts
    2

    Referencing a filename in a cell

    I am storing the name of closed invoice workbook files in a column of cells on another tracking workbook file. How do I reference those cells containing the filenames so that they display cell data from the respective files.

    For example: In Workbook 1, say A1 includes 150.xls and 150.xls is the filename of another closed workbook. In Workbook 1 A2, I would like to display the contents of 150.xls A4. How can I refence Workbook1 A1 in Workbook 1 A2 so that it shows the contents of 150.xls A4. I want this to be dynamic so that all I have to do is type the filename and it diplays the contents automatically. Any help with this would be much appreciated. Thanks.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello jondl,

    This can be done but only using advanced VBA macro coding. It involves using VBA, ADO, and SQL to obtain data from a closed workbook. Due to the complexity of this procedure, I will provide you with a link that explains the procedures and code.

    Copy a Range from a Closed Workbook

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    12-19-2007
    Posts
    2

    Thanks for your help!

    Thanks for your help!

+ 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