I have a worksheet on EXCEL 2013 that has a MASTER SHEET with all of the students names and grades. I have created a table with the students names are on Column A and their Period (class) is on Columns B-H. I have sheets with the Case Workers name labeled on the bottom tab and their list of students they track in their sheet.
Here is a sample code someone gave me that didn't work:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
Application.EnableEvents = False
If Intersect(Target, Columns("A:A")) Is Nothing Then Exit Sub
Target.EntireRow.Copy Sheets(Target.Value).Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
Application.EnableEvents = True
Application.ScreenUpdating = True
End Sub
Here is a sample of my worksheet:
MASTER SHEET TAB
Column A row 1: Name
Column B row 1: Period 1
Column C row 1: Period 2
Column D row 1: Period 3
Column E row 1: Period 4
Column F row 1: Period 5
Column G row 1: Period 6
Column H row 1: 7
Column A row 2: Skywalker, Luke (example)
Column B row 2: F1, GUITAR
Column C row 2: C, HEALTH
Column D row 2: B, GEOMETRY
Column E row 2: A, YR1 ALGEBRA1
Column F row 2: C+, US HISTORY
Column G row 2: B, ENGLISH
Column H row 2: (BLANK)
ELIZABETH (SHEET)
Same as above format.
Copy student from master sheet to corresponding name on sheet.
This may be easier adding information from the separate sheets and consolidate them to the master.