Add the below code in Thisworkbook code window, whenever any change happens in the worsheets it will get the data in summary sheet.
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
If Sh.Index < 4 Then Exit Sub
Dim sConc As String, iWsNo As Integer, sBase As String
sBase = "SUMMARY"
iWsNo = Sh.Index
With Sh
sConc = .Range("C8") & " " & .Range("C10") & " " & .Range("C12") & _
" " & .Range("C14") & " " & .Range("C16") & " " & .Range("C18") & _
" " & .Range("C20") & " " & .Range("C23") & " " & .Range("C25") & _
" " & .Range("C27") & " " & .Range("C34") & " " & .Range("C36") & _
" " & .Range("C38")
End With
With Sheets(sBase)
.Cells(iWsNo, "A").Value = Sh.Range("B1").Value 'Last Name
.Cells(iWsNo, "B").Value = Sh.Range("G1").Value 'First Name
.Cells(iWsNo, "C").Value = Sh.Range("B3").Value 'Division
.Cells(iWsNo, "D").Value = sConc 'Desc
.Cells(iWsNo, "E").Value = Sh.Range("C28").Value 'Total Hours
End With
End Sub
Refer the attached file for details
Bookmarks