+ Reply to Thread
Results 1 to 4 of 4

Consolidate data from an Excel sheet, starting with a specific row with text.

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

    Consolidate data from an Excel sheet, starting with a specific row with text.

    Dear Excel specialists,

    I have a quick question regarding a VBA script. I am looking for a script that performs the following tasks:

    Tasks:
    1. Searches for all Excel files in a specific folder, which in this case is "C:\Temp\All_Files".
    2. Opens each Excel file found in the aforementioned folder and extracts all the text starting from a specific row that contains the phrase "Provide the full application name" until the last row without text.
    3. Consolidates all the collected data from each Excel file into one file, such as "C:\Temp\Consolidated.xls".

    I added two sources files to show an example. The results in the Consolidated.xls file should show the rows with the text A, B, C, D, E and F

    Can anybody help me with this please? I would appreciate it.
    Thank you in advance.

    Best regards,

    Hans
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,024

    Re: Consolidate data from an Excel sheet, starting with a specific row with text.

    Place this macro in the Consolidated.xls file.
    Please Login or Register  to view this content.
    Last edited by Mumps1; 06-03-2024 at 09:01 AM.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

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

    Re: Consolidate data from an Excel sheet, starting with a specific row with text.

    Hello Mumps1,

    Thank you very much for providing this script (works like a charm) :-)
    Very happy with the results. Again thanks!

    Best regards,

    Hans
    Last edited by NewBee_HS; 06-04-2024 at 04:44 AM. Reason: Found it

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,024

    Re: Consolidate data from an Excel sheet, starting with a specific row with text.

    You are very welcome.

+ 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. Replies: 8
    Last Post: 02-06-2022, 04:19 AM
  2. Macro to Bring in file starting from a specific column and pasting in excel sheet
    By cartica in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2019, 04:20 PM
  3. [SOLVED] Import and append data from the text file into worksheet, starting at a specific row.
    By excelicus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2018, 02:04 AM
  4. [SOLVED] macro copy specific columns starting from row 2 to last data to a sheet template
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-04-2017, 02:43 PM
  5. [SOLVED] Copy Data to New Sheet, Starting in a Specific Row
    By RTOMikey in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-23-2013, 09:35 PM
  6. Replies: 20
    Last Post: 10-19-2012, 04:35 PM
  7. Deletion of excel lines starting from specific text
    By meetvivek72 in forum Excel General
    Replies: 8
    Last Post: 07-24-2012, 09:29 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