Conditioned combination of several workbooks to one Master workbook

MSconfusedX

New Member
Joined
Sep 16, 2011
Messages
5
I have 8 workbooks of different teachers, each workbook has 5 sheets for every student, total of 40 sheets. Not every sheet has students information.

Now, I want to combine the worksheets of different workbooks into one Master Workbook, however; I want to only copy those sheets which have student information, to be more clear only to copy those sheets when cell C4 has a string value and not empty
**Cell C4 contains the name of the student, and if it's empty then the worksheet doesn't have any infos, hence should not be copied.

I know it's possible in Macros, but i have a very limited knowledge of it, hence can't produce a working VBA code.

Notes:

  • All the folders are in the same directory.
  • If it's going to be hard to add only the worksheets of the student information, then let it be all the worksheets of all the workbooks, for now.
  • I want the workbook to update the worksheets every time it is opened, or maybe add an update data button.

I would appreciate immediate help ... THANK YOU
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,947
Latest member
Gerry_F

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