Hi krjoshi,
Try this:
Sub ClearBetween()
Dim TopWord As String
Dim BottomWord As String
Dim LastRow As Double
Dim RowCtr As Double
Dim TopRow As Double
Dim BottomRow As Double
LastRow = Cells(Rows.Count, "A").End(xlUp).Row
TopWord = "Name"
BottomWord = "Total"
TopRow = 0
For RowCtr = 1 To LastRow
If Cells(RowCtr, "A") = TopWord Then
TopRow = RowCtr
End If
If Cells(RowCtr, "A") = BottomWord And TopRow <> 0 Then
BottomRow = RowCtr
Range(Cells(TopRow + 1, "D"), Cells(BottomRow - 1, "D")).ClearContents
TopRow = 0
End If
Next RowCtr
End Sub
Bookmarks