Solved

Combine many excel files into one workbook

Posted on 2013-02-04
8
252 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
  • 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

821 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