Question:
how do I combine different excel workbooks and their contents into a single workbook using macros and VBA?
Agent0_Arenas
2007-05-01 22:10:34 UTC
I need to combine the different sheets found in different excel workbooks, for example in one singular folder, into a single integrated workbook. also, if anyone knows how to use filters for searching, for example, as i only want to combine and consolidate into one workbook files that starts with a uniform name, such as "workload_mgt" filename, that would really help. thanks! :D
Three answers:
anonymous
2007-05-02 04:35:58 UTC
So, you want to copy sheets from several workbooks?

Or, you want to copy cells from sheets from several workbooks.

So both ways can be done in VBA of Excel easily



You can mail me here fo that, I will be glad to help



Enjoy my profile, I am the VBAXLMan
S E
2007-05-01 23:59:13 UTC
First all the work sheets must be identical, no hidden lines or columns. You may need to create a master and lock the sheet so only the input cells are available. Hopefully only one person use these sheets otherwise discovering all the customizations.



You can continue to add sheets, there is a limit but I don't know it. You may need to create groupings if it is too large, then create sets of sub-totals. These groupings can be alpha, geographic or any logical group. To create totals you need to link each Ceil on each separate sheet and place them in the corresponding cell of that sheet. This sometimes takes a long time and is easy to get off by one cell and your calculations will be wrong. Build your project in small steps and add to it. Don't try to get everything working perfectly all at once because if there is a bug you won't know where to start looking. Save often, if you try new things save each generation. In other words, get something working. Then add to your project then save it as Project 1 A1. Especially if you r not sure it will work save Project 1 A 1 b. that way you can track back to the working version and don't have to wonder if you have deleted stuff that was working.



There are several good experts that write non-Microsoft books that explain things with more detail, and are much easier to understand. If you are trying to develop this sophisticated spreadsheet, you'll be able to use a good reference book later.
synthia
2016-05-18 12:14:36 UTC
Love


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...