I would like to clear all text below the last value in Col BA and 10 cols to the right on the last sheet
I have tried to right code to do this but the text is not cleared
It would be appreciated if someone could assist me
I have tried to right code to do this but the text is not cleared
It would be appreciated if someone could assist me
Code:
Sub Clear_UnwantedTextlastRow()
Dim LastRow As Double
Dim LastCol As Double
Dim RowCtr As Double
LastRow = Cells(Rows.Count, "BA").End(xlUp).Row
LastCol = Cells(1, Columns.Count).End(xlToLeft).Column
Cells(53, LastCol + 1) = "Product Cost"
For RowCtr = 2 To LastRow
Cells(RowCtr, LastCol + 1).Resize(, 10).ClearContents
Next RowCtr
End Sub