Sub kpark91()
Dim WS As Worksheet, LR As Long, col As Long
For Each WS In Worksheets
LR = WS.Range("A" & Rows.count).End(xlUp).Row
If LR <> 1 Then
For col = 1 To 27
WS.Cells(LR, col).Value = WorksheetFunction.Sum(Range(Cells(1, col), Cells(LR - 1, col)))
Next col
End If
Next WS
End Sub
You probably should as there are a couple of problems with it.I haven't tested the code ...
I don't think you have taken account of this:group all sheet and in one sheet you insert rows, that will be populated to all sheet.
Please keep in mind that the last row of each sheet varies.
You probably should as there are a couple of problems with it.
That certainly would make it tricky to test.
Are you asking for an explanation of the issues I see with your code?