+ Reply to Thread
Results 1 to 7 of 7

macro to copy files a folder and consolidate in master workbook on desktop

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    macro to copy files a folder and consolidate in master workbook on desktop

    I have a lot of files with same header range in a c drive: folder called consolidate order.

    Looking for macro to copy all file data and to merge them in single mastersheet workbook. on my desktop

    All workbook on c:drive folder consolidate order have a single sheet.


    See attached samples of orders to merge on single workbook

    Take note that these files can be of 3000 rows of data or more
    Thanks if any one can help
    Attached Files Attached Files

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

    Re: macro to copy files a folder and consolidate in master workbook on desktop

    Do you want the data from all the workbooks on one sheet in the Master workbook or on separate sheets?
    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 Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: macro to copy files a folder and consolidate in master workbook on desktop

    This will do it, make note of the highlighted parts you might want to edit:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JBeaucaire; 09-30-2016 at 12:40 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!)

  4. #4
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: macro to copy files a folder and consolidate in master workbook on desktop

    Thank you ,works as requested .

    Save me from a tedious task

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

    Re: macro to copy files a folder and consolidate in master workbook on desktop

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: macro to copy files a folder and consolidate in master workbook on desktop

    Quote Originally Posted by Mumps1 View Post
    Do you want the data from all the workbooks on one sheet in the Master workbook or on separate sheets?
    Masterworkbook on one sheet only

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

    Re: macro to copy files a folder and consolidate in master workbook on desktop

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Macro to open folder on desktop and certain files within
    By hutch94 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-05-2014, 11:01 AM
  2. Macro to copy the value of some cells in excel files in a folder to a master file
    By phemocheee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2013, 08:33 AM
  3. Macro to copy some cells in some excel files in a folder to a master file
    By phemocheee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2013, 04:40 AM
  4. Need to Consolidate multiple workbooks in to a Master Workbook w/ files on SharePoint
    By Vu Compra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2013, 10:34 AM
  5. Marcto to copy sheets from one workbook to a master sheet, for all files in folder
    By crombieguy91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2013, 11:12 AM
  6. [SOLVED] VBA Code open files in folder, copy text to workbook-Next time folder opened copy only new
    By Bikeman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-02-2013, 07:59 PM
  7. Need to Consolidate multiple workbooks in to a Master Workbook w/ files on SharePoint
    By newbietoVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2012, 11:30 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