Using VBA scripts to Combine multiple sheets from multiple workbooks to a single workbook of multiple worksheets

Mamom

New Member
Joined
Feb 18, 2016
Messages
2
Hi Everyone,


My requirement is,
I have multiple Excel Files (Mathe, Bio, Eng, ...) with multiple sheets (cover, group01, grou02, group3,...).

I want to create a master workbook (Master) with one sheet (Mathe, Bio, Eng, ...) for every workbook. In the master workbook.sheet(mathe) shall be the combined data from Workbokk(Mathe) and sheets (group()) and sheet cover or others.
From the group-sheets i need the name of the workbook, coloumn (A,b, C, E, H).

Hope you can help me.

Thanks


workbook(Mathe).sheet(group01)
Group_01
Klasse
Mathematik
Group
Gruppe_01_Mathe_WiSe1516
Kurztitel
Mathe
Kurztitel
Gruppe01
Sum
9
ID
Dozent
Kurs
Hours
Date
Hour
exam
1
Sebastian
Algebra A
3
1
2
Sebastian
Algebra A
3
1
3
Ulrich
Geo A
3
1
4
Ulrich
Geo A
1
5
6

<tbody>
</tbody>

workbook(Mathe).sheet(group02)
Group_02
Klasse
Mathematik
Group
Gruppe_02_Mathe_WiSe1516
Kurztitel
Mathe
Kurztitel
Gruppe02
Sum
10
ID
Dozent
Kurs
Hours
Date
Begin
exam
1
Algebra A
408:00
1
2
Sebastian
Algebra A
3
14:00
1
3
Ulrich
Geo A
3
14:00
1
4
5

<tbody>
</tbody>




workbook(Master).sheet(Mathe)
Klasse
Mathematik
Kurztitel
Mathe
Kurztitel
Gruppe02
Group_01
Gruppe_01_Mathe_WiSe1516
ID
Dozent
Kurs
hours
exam
1
Sebastian
Algebra A
3
1
2
Sebastian
Algebra A
3
1
3
Ulrich
GeoA
3
1
4
Ulrich
Geo A
1

<tbody>
</tbody>
Group_02
Gruppe_02_Mathe_WiSe1516
ID
Dozent
Kurs
hours
exam
1
Sebastian
Algebra A
3
1
2
Sebastian
Algebra A
3
1

<tbody>
</tbody>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,222,014
Messages
6,163,392
Members
451,834
Latest member
tomtownson

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