Combine many excel files into one workbook

Hello

I may have asked this before but I can't easily find it in "My Answered Questions".  And in this version I am asking for a slightly different "solution".

I have a bunch of excel files in one folder.  Each one has 1 workpage.  They all have the same column headers.

I want to combine those files into one workbook.  They can each be a different page of the workbook or, even better, they can be combined into one workpage -- since they all have the exact same structure and headers.

Any solutions to do that?

Thanks

Rowby
LVL 9
Rowby GorenAsked:
Who is Participating?
 
broro183Connect With a Mentor Commented:
hi Rowby,

Do either of the below links help you?

Ron DeBruin has created an Excel Addin which may be of interest: RDB Merge

Brettdj's article

hth
Rob
0
 
terencinoCommented:
Hi again Rowby is this the one you were looking for, and was the code in your final comment the code you would like to modify for your new purpose?

Command to combine many Excel files into one

...Terry
0
 
Rowby GorenAuthor Commented:
HI Terry

I looked at that solution and yes I am using it when I have one workbook with multiple Worksheets in it.  I run the Visual Basic to combine the multiple worksheets into one "consolidated " page, which that visual basic does nicely.

So yes, if you can use that code and modify it so that it gets all of the individual workbooks in one designated folder (I would use that same folder every time, so let's name the folder something like "consolidateme" :)  and it makes all of those files into one new workbook -- with one worksheet in it containing the contents of the workbooks in that folder.

Whew!  Did I over-explain that?

Thanks
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Rowby GorenAuthor Commented:
Hi  broro183

I am looking at your link(s) now.

Thanks

Rowby
0
 
Rowby GorenAuthor Commented:
Thanks Rob,

 RDB Merge worked great!

Rowby
0
 
Rowby GorenAuthor Commented:
(And thanks, terencino, for your assistance too! )
0
 
broro183Commented:
hi Rowby,

I'm pleased I could help - thanks for the points :)

Rob
0
 
Rowby GorenAuthor Commented:
It's a great addon!  Thanks for letting me know about it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.