pull specific sheets from one file to another file

jammoca

Banned
Joined
Nov 6, 2002
Messages
1,100
I have a workbook called 'Teacher A'. In this workbook, I have a sheet called 'Student List'.
In cells C10:C40 I have a list of student names.

I also have a workbook called 'Master'. In this workbook, I have about 400 worksheets, each with identical format to eachother but obviously with that student's own scores for exams and so on. Each sheet is called whatever the student is called ... example 'Student 1' or 'Student 2' all the way up to 'Student 400'.

I'd like to have a button in the 'Student List' sheet of the 'Teacher A' workbook, that when pressed will take a copy of each of the Worksheets (from the Master workbook) that bears the same name as the names in the list found in C10:C40.

eg: if the C10:C40 list contains the following names ...

Student 32
Student 41
Student 45
Student 67
Student 112
Student 118
Student 239

Then the worksheets in the Master workbook that have those same names should be copied and appear in the 'Teacher A' workbook.

Is this possible ?

Would the sheets in the Master workbook have to be unprotected for the transfer to work or can I have them password protected and it still work ?

All the best,

Chris
 

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,594
Messages
6,179,792
Members
452,942
Latest member
VijayNewtoExcel

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