+ Reply to Thread
Results 1 to 4 of 4

Create a summary of different Excel files to one file.

  1. #1
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Create a summary of different Excel files to one file.

    Dear Excel-specialists,

    I have a question regarding the following.
    Currently I have a folder with a lot of Excel-source files that contain different information.
    The source-format (framework if you will) is the same as the destination format.

    What I like to achieve is:
    1. Use a (VBA script) loop to go through each Excel file in a specific folder.
    2. For each file, extract all data from sheet "Example" starting from row 9.
    3. Copy the data as plain text, without any markup or formatting.
    4. Append all data into a summary file, without overwriting existing data in the source file (append).

    Result: The summary file contains all the data from each source file, combined into one place.
    Is it easy to create (in simple code, so I can maintain it easily)?

    I added 3 files to give an impression.
    1. Destination_File (the summary file)
    2. File_A_Example_Source_File and File_A_Example_Source_File (two source files with some example text).

    I tried something with counters, but that does not work, so I really do not know where to start with this one.

    Thank you in advance.

    Hans
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Create a summary of different Excel files to one file.

    I found something, but this doesn't exactly do what I need... :-(
    I tried to build a macro, but this does not work either.
    https://chandoo.org/forum/threads/vb...m-where.45667/
    Last edited by NewBee_HS; 09-29-2023 at 08:39 AM.

  3. #3
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Create a summary of different Excel files to one file.

    Tried this code also, but it doesn't seem to work.

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    12-30-2020
    Location
    Odessa / Ukraine
    MS-Off Ver
    2021
    Posts
    308

    Re: Create a summary of different Excel files to one file.

    Hello. If you had headings for each column, you could use these headings to guide you for copying and pasting.There are enough such topics on this forum. But in the form you have, it’s unlikely that you’ll be able to do anything (at least for me). Since you have tables with data scattered throughout the sheet.

+ 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] Obtaining summary file considering excel files in a folder
    By RavindraK in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 12-21-2018, 02:53 AM
  2. Import and adjust data from various excel files into a summary file
    By ir0nic in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2016, 05:17 PM
  3. Create Summary report from Various Files
    By Ronil Ritesh Kumar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2016, 08:15 PM
  4. [SOLVED] Extract specific cells from multiple excel files in same folder to new summary file
    By Derek Holden in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2014, 01:43 AM
  5. [SOLVED] How to create a summary report from several files???
    By Arty_1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2014, 08:03 AM
  6. Copy-Paste Macro of 3 columns from multiple excel files into one summary file
    By jpmaster53 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-15-2012, 07:10 AM
  7. Macro copying info/data in multiple excel files into one summary file.
    By Jskasango in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-06-2006, 03:30 AM

Tags for this Thread

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