+ Reply to Thread
Results 1 to 2 of 2

Merging cells from multiple files in a folder into one file

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    8

    Question Merging cells from multiple files in a folder into one file

    Hello all,

    I'm in need of a macro that would do this:

    - look in a specified folder for all excel files
    - from the first sheets of all the files it would copy two ranges of data (first are IDs and the others are the actual data) and paste them in a new file that would only contain the IDs and the data from all the files in the folder.

    Some additional thoughts:

    - the files are randomly named, not like 1, 2, 3 etc.
    - the name of the sheet from which the data should be copied is the same in all the files
    - the columns in the files are always the same, but number of rows varies

    This is rougly how the input files will look (with some clutter on the top):

    1.JPG

    And how the output should ideally look like:

    2.JPG

    I'm not very good in VBA so please use very simple terms thanks everyone in advance for your effort

  2. #2
    Registered User
    Join Date
    07-16-2013
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Merging cells from multiple files in a folder into one file

    I've searched the forum and found code that looks promising, but pastes everything without specifying what exactly to copy. Maybe this is a good starting point?
    Attached Files Attached Files

+ 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. [SOLVED] How to merge multiple excel files(xls) in one folder into a new xls file.
    By Hayk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 11:48 AM
  2. Multiple Files in a folder - Copying to one file
    By ingwingfingerling in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-31-2012, 04:57 PM
  3. Copying data from multiple files in a folder to a master file
    By kjshep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2012, 12:31 PM
  4. Merging specified worksheet in multiple files into 1 merged file
    By RebeccaEllis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2012, 11:22 AM
  5. Merging particular worksheet from Multiple Files in a folder into a single workbook
    By excelhelp18 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2012, 01:37 AM

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