+ Reply to Thread
Results 1 to 2 of 2

selecting values form multiple excel files into an excel worksheet

  1. #1
    martha
    Guest

    selecting values form multiple excel files into an excel worksheet

    I have created a number of excel files, which have the same name but a
    different number. For e.g. book1.xls, book2.xls, book3.xls..... and so on. I
    need to retrieve information from a particular cell(the address is fixed)
    from all these files into another new worksheet. The number of excel
    files(i.e., book1.xls,book2.xls, book3.xls.....etc.) may vary, i.e., there
    can be 50 or 60 or even 100 files. I first need to find out the number of
    files, and then retrieve the cell information from all these files and store
    it in the new file. Also, if changes are made in any one of the files, then
    the change should reflect in the new worksheet.

  2. #2
    Forum Contributor
    Join Date
    03-24-2004
    Location
    Edam Netherlands
    Posts
    181
    You should loop through the files

    For each file you should:

    Open a file
    Get the value you want
    Close the file
    And put the value in the master sheet

    voila

+ 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