+ Reply to Thread
Results 1 to 3 of 3

Macro to look thought multiple folders and subfolder for specific file name and aggregat

  1. #1
    Registered User
    Join Date
    09-24-2012
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    4

    Macro to look thought multiple folders and subfolder for specific file name and aggregat

    Hello

    any help or direction to recourses or YouTube will be appreciated to help me in resolving below

    I need to aggregate multiple xls files with specific name from multiple folders and subfolder into one file.

    I receive multiple reports every day that are saved with in folder with Date in the file name
    there is saving logic is :
    Fund Name > Year> month > Date (05.05)> bank name> IncomeStatement21361321.xls

    Aggregation file is saved in Year folder with Name (YTD PNL.xls) i need Excel to look thought all folder and to find xls file that contain IncomeStatement in the file name. ( there are PDF and xls File with same name) and then merger it into (YTD PNL.xls).

    Thank you in advance for your help

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro to look thought multiple folders and subfolder for specific file name and aggreg

    There is a Free add-in that can do what you ask...

    RDBMerge, Excel Merge Add-in
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Macro to look thought multiple folders and subfolder for specific file name and aggreg

    If the addin approach doesn't work for you, post a sample file as per the yellow banner above so we can see its structure and recommend a solution.

+ 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: 14
    Last Post: 09-18-2016, 08:13 AM
  2. Replies: 0
    Last Post: 09-18-2015, 03:20 AM
  3. [SOLVED] SubFolder search but for specific file type
    By jquintana83 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-26-2014, 10:05 AM
  4. Macro to list a specific type of file searching in folders and subfolders
    By vamu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2014, 09:31 AM
  5. possible to check for file in multiple folders, then check for values in specific cells?
    By mattheritage in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2014, 08:33 AM
  6. Auto Create multiple folders within an Outlook Subfolder using Excel List
    By lawriecunningham in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 06-16-2013, 05:02 PM
  7. To have flexibility to open workbook file on a specific drive\subfolder.
    By anneypng in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-02-2012, 01: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