+ Reply to Thread
Results 1 to 3 of 3

Copy specific cells from many files into master file

  1. #1
    Registered User
    Join Date
    10-03-2012
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copy specific cells from many files into master file

    Hello,
    I have about 100 files in a single folder, all made from a single template. I would like to pull information from these files into a single master file. The problem is that I dont want all the data from each spreadsheet, only specific cells. For example, I would like to pull cells I9, F4, F5, and K3 from each file, and then paste them into a new file in cells B3,C3,D3,E3. Then take the same cells from the next file,and put them in cells B4,C4,D4,E4.
    Any thoughts on how to do this?
    Thanks in advance!

  2. #2
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Copy specific cells from many files into master file

    Try this code in the master workbook, which you should save in a folder separate to the folder containing the 100 files. You will need to edit the code where shown to change the folder path containing the 100 files. It opens all files matching *.xls in that folder, which you may need to change to *.xlsx or *.xslm, etc. depending on what the file extension of the 100 files is.
    Please Login or Register  to view this content.
    Post responsibly. Search for excelforum.com

  3. #3
    Registered User
    Join Date
    10-03-2012
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Copy specific cells from many files into master file

    This is EXACTLY what I needed. I made a few simple mods to make add more cells to the mix. My friend, you are a genius.

+ 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