Yet another Combine Files question

BRiems

New Member
Joined
Dec 24, 2004
Messages
1
I apologize if this has been answered, however I've spend a few hours trying to get something to work. I am using Excel 2010 and am trying to combine multiple files in separate subfolders into one workbook with each file name as a separate tab in a new workbook named the same as the subfolder. Eg: subfolders "CAN","LAN", and "SYR". Within each of these subfolders there are workbooks titled "Written", "Closed", and "New". I am looking to have a script or macro run through each of the subfolders and create a new workbook called "CAN" with the corresponding tabs of "Written", "Closed", and "New" that are found within the folder "CAN". Can anyone help here? I'm trying to learn VB and/or functions but can't seem to get snippets of code I've found on the internet to work together. Thanks VERY much for anyone that can help :)

BRiems
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,224,595
Messages
6,179,799
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top