Sub sendtosummary()
Dim allData As Range
Dim NewLastRow As Long
Dim summarysheet As Worksheet
Dim actcell As Range
Worksheets("Data").Activate
Set allData = Worksheets("Data").Range("M3:AJ6")
Set summarysheet = Worksheets("Cost Summary")
Range("M3").Activate
Application.ScreenUpdating = False
For Each cell In allData
If IsNumeric(cell) And cell > 0 And cell.Text = Format(cell, "Currency") Then
'Copy hours and cost
Set actcell = ActiveCell
Worksheets("Data").Activate
ActiveCell.Select
Selection.Copy
Worksheets("Cost Summary").Activate
NewLastRow = Range("A65536").End(xlUp).Row
summarysheet.Cells(NewLastRow + 1, 6).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Worksheets("Data").Activate
ActiveCell.Offset(0, 1).Select
Selection.Copy
Worksheets("Cost Summary").Activate
NewLastRow = Range("A65536").End(xlUp).Row
summarysheet.Cells(NewLastRow + 1, 7).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
'Copy Date
Worksheets("Data").Activate
Cells(1, ActiveCell.Column - 1).Copy
Worksheets("Cost Summary").Activate
NewLastRow = Range("A65536").End(xlUp).Row
summarysheet.Cells(NewLastRow + 1, 5).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
'Copy Employeer Class and Name from Summary to Cost Summery
Worksheets("Data").Activate
Range("C" & ActiveCell.Row).Select
ActiveCell.Copy
Worksheets("Cost Summary").Activate
NewLastRow = Range("A65536").End(xlUp).Row
summarysheet.Cells(NewLastRow + 1, 3).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Worksheets("Data").Activate
Range("D" & ActiveCell.Row).Select
ActiveCell.Copy
Worksheets("Cost Summary").Activate
NewLastRow = Range("A65536").End(xlUp).Row
summarysheet.Cells(NewLastRow + 1, 4).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
'Copy WBS from Summary to Cost Summery
Worksheets("Data").Activate
Range("B" & ActiveCell.Row).Select
ActiveCell.Copy
Worksheets("Cost Summary").Activate
NewLastRow = Range("A65536").End(xlUp).Row
summarysheet.Cells(NewLastRow + 1, 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Worksheets("Data").Activate
End If
Next cell
Application.ScreenUpdating = True
End Sub