+ Reply to Thread
Results 1 to 4 of 4

Need a VBA that will combine all the worksheets of several workbooks

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Mauritius
    MS-Off Ver
    Excel 2010
    Posts
    116

    Need a VBA that will combine all the worksheets of several workbooks

    Hi all,

    I am using Excel 365 and I am looking for a VBA that would do the following:
    I have a folder called "rt1520" and it contains several Workbooks (all of them have a single worksheet therein called "Sheet1"). I need to combine all the "Sheet1" of these workbooks into a single worksheet in another workbook. Basically, the VBA will need to append all the data in the workbooks into a single worksheet.
    I guess it is possible to do with VBA but as I am total newbie regarding VBAs, any help would be appreciated.

  2. #2
    Registered User
    Join Date
    08-15-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: Need a VBA that will combine all the worksheets of several workbooks

    This type of question seems to come up a lot, I've attached a fairly generic macro that should allow you to do this.

    It's a standalone file that takes the folder name and output filename as input.

    It will append all the data from the nominated sheet from each file in the folder into a single file.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Mauritius
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Need a VBA that will combine all the worksheets of several workbooks

    Quote Originally Posted by gijsmo View Post
    This type of question seems to come up a lot, I've attached a fairly generic macro that should allow you to do this.

    It's a standalone file that takes the folder name and output filename as input.

    It will append all the data from the nominated sheet from each file in the folder into a single file.
    Many many thanks! Beyond what I expected! Works like a charm.

  4. #4
    Registered User
    Join Date
    08-15-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    9

    Re: Need a VBA that will combine all the worksheets of several workbooks

    You are most 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. Combine worksheets from multiple workbooks in one
    By Excelski in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2019, 09:36 AM
  2. Combine worksheets from multiple workbooks
    By aaron_burr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-15-2015, 10:49 AM
  3. Combine 3 separate workbooks, each with 6 worksheets
    By billycasper in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2014, 07:16 AM
  4. Combine specified worksheets different workbooks with same data
    By arrongraham in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2013, 06:53 AM
  5. Combine 2 workbooks together with multiple worksheets
    By dcnorman07 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2008, 04:32 PM
  6. combine parts of many worksheets in many workbooks
    By david_g in forum Excel General
    Replies: 1
    Last Post: 07-04-2006, 10:39 AM
  7. [SOLVED] Combine Workbooks as separate worksheets
    By SAL in forum Excel General
    Replies: 2
    Last Post: 06-01-2005, 12:05 PM

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