+ Reply to Thread
Results 1 to 2 of 2

Import data from excel files to append master file

  1. #1
    Registered User
    Join Date
    05-26-2009
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    1

    Import data from excel files to append master file

    I have a process where I receive new workbooks each day (anywhere from 1 to 4) and they are all housed in a folder. I want to be able to store all of this information within a single master file for analysis purposes. The individual files always contain the same number of columns and a single header row, but the number of rows of data will vary. I would like to be able to select from the master file which individual files I want to import and append the full data set, but without importing the header row each time. I am new to VB and macros, so any and all help is much appreciated.

    Thank you in advance!!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Import data from excel files to append master file

    'WORKBOOKS TO 1 SHEET STACKED
    Here's a macro for collecting data from all files in a specific folder.The parts of the code that need to be edited are colored to draw your attention.

    You could just drop in that folder the files you want into that folder and run it.
    Last edited by JBeaucaire; 12-27-2019 at 10:10 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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