+ Reply to Thread
Results 1 to 5 of 5

Using offline XLS files in a Master WB

  1. #1
    Registered User
    Join Date
    03-20-2008
    Posts
    3

    Using offline XLS files in a Master WB

    Hello everyone!

    I am trying to make a master workbook that will update itself from offline files that are in a specified working folder. I am using this code to grab the file names:
    Please Login or Register  to view this content.
    This code does the following: it look for all XLS files in the Data folder and lists them in Files.

    However, I am stuck on the next part. I cannot find a way to use this retrieved data to link information from the offline files. If I use ='path[file.xls]worksheet'!range and replace it with cell names (A1, A2, etc) I get a #REF! error.

    Is there a way to do this? I don't mind if its VB code or a formula. Any input will be greatly appreciated.

    Thank you in advance,
    Felipe
    Last edited by Leith Ross; 03-20-2008 at 06:16 PM.

  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,258
    Hello Felipe,

    Welcome to the Forum!

    To make your posts easier to read and preserve your formatting, please wrap your code. I did it for you this time. Here is how you can do it next time.

    How to wrap your Code
    On the Message window Toolbar you will see the # icon. This will automatically wrap the text you selected with the proper HTML tags to create a Code Window in your post. You can do this manually by placing the tag [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] at the end.

    As a new member please read the Do's and Don'ts here in the Forum. Click on the link below...

    Forum Rules

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    03-20-2008
    Posts
    3
    Sorry about the newbie mistake, won't happen again.

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

    Here is a site that may be of interest to you. It deals with retrieving data from closed workbooks. Look in section titled Copy/Paste/Merge examples.

    http://www.rondebruin.nl/tips.htm

    Sincerely,
    Leith Ross

  5. #5
    Registered User
    Join Date
    03-20-2008
    Posts
    3
    Leith:

    You are a genius! The link you gave me fits perfectly my needs. Thank you very, very much.

+ 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