Solved

Combine many excel files into one workbook

Posted on 2013-02-04
8
261 Views
Last Modified: 2013-02-05
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
0
Comment
Question by:Rowby Goren
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 16

Expert Comment

by:terencino
ID: 38853455
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
 
LVL 10

Accepted Solution

by:
broro183 earned 500 total points
ID: 38854070
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
 
LVL 9

Author Comment

by:Rowby Goren
ID: 38855757
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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 9

Author Comment

by:Rowby Goren
ID: 38855762
Hi  broro183

I am looking at your link(s) now.

Thanks

Rowby
0
 
LVL 9

Author Closing Comment

by:Rowby Goren
ID: 38855893
Thanks Rob,

 RDB Merge worked great!

Rowby
0
 
LVL 9

Author Comment

by:Rowby Goren
ID: 38855901
(And thanks, terencino, for your assistance too! )
0
 
LVL 10

Expert Comment

by:broro183
ID: 38856428
hi Rowby,

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

Rob
0
 
LVL 9

Author Comment

by:Rowby Goren
ID: 38856505
It's a great addon!  Thanks for letting me know about it.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question