Private Sub Worksheet_Change(ByVal Target As Range)
Dim iRow, iCol As Integer
iRow = Target.Row
iCol = Target.Column
If Target.Row >= 6 And Target.Column >= 7 Then
Cells(iRow, 7) = Application.WorksheetFunction.Sum(Range(Cells(iRow, 8), Cells(iRow, 38)))