+ Reply to Thread
Results 1 to 4 of 4

Macro that combines data from several workbooks in a folder.

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Macro that combines data from several workbooks in a folder.

    The FCC has started to list numbers that have had a complaint filed on them
    HTML Code: 
    . I will be reviewing to determine if specific numbers are appearing in these reports. I will go and download the CSV files weekly and want to be able to run a macro that will open and combine the data of all the workbooks for that week into one master file. I do not know where to even begin with open workbooks in a folder. Step further would be to autofilter based on a specific phone number if listed, but I think I can manage that. I attached one workbook, but you can go to the FCC link and download the more if you'd like.


    Can anyone assist? Thanks!
    Attached Files Attached Files

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

    Re: Macro that combines data from several workbooks in a folder.

    Here's a free add-in that will do what you want.

    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 Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Macro that combines data from several workbooks in a folder.

    Hi Taylor,

    Excel has a newer tool called Power Query that is built into 2016 Excel and is an Add-In for 2010 and 2013.
    If you downloaded all those .csv files into the same directory you could suck them into a single worksheet very easily.

    http://excelunplugged.com/2015/02/10...n-power-query/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Macro that combines data from several workbooks in a folder.

    Thanks Marvin and AlphaFrog!

+ 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. Creating a macro that combines data from several CSV files into a single datasheet
    By Chimney343 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-13-2017, 11:39 AM
  2. How can I create a macro for extracting data from multiple workbooks within a folder
    By surfing69 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2013, 11:36 AM
  3. [SOLVED] A macro that combines text data in different cells into one cell?
    By kjy1989 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2013, 02:21 AM
  4. [SOLVED] Excel macro to pull retrieve data from multiple workbooks in a folder
    By tech_frk in forum Excel Programming / VBA / Macros
    Replies: 39
    Last Post: 03-07-2013, 08:04 PM
  5. Need defined parameters on macro that combines workbooks
    By juniperjacobs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2011, 04:23 PM
  6. Macro to Vlookup and pull data from standard workbooks of a folder to a target one
    By Silver.blue in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-05-2011, 05:38 PM

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