I am looking to find a row in my data which corresponds to a reference cell named Val4 and delete that range. I have this which works for deleting the entire Row or just the content of that row but I would like to delete range ("L:M") instead of the entire row. Here is a segment of my code:
Sheets("Sheet1").Select
Last = Cells(Rows.Count, "L").End(xlUp).Row
For I = Last To 1 Step -1
If (Cells(I, "L").Value) = Val4 Then
'Cells(I, "L").ClearContents ' USE THIS TO CLEAR CONTENTS BUT NOT DELETE ROW
'Cells(I, "A").EntireRow.Delete USE THIS TO DELETE ENTIRE ROW
GoTo NextSheet1
End If
Next I
Thanks for the help.
Ross