I have data from that i want to find word KEY after find this word then below 14 rows i want to delete & this word in same column A more than 300 times so below this word 14 rows i want to delete can u please tell me how to do this
Sub Demo()
Dim Rg As Range
With Me.UsedRange.Columns(1)
Set Rg = .Find("Key", , xlValues, xlWhole)
Do Until Rg Is Nothing
Rg.Resize(15).EntireRow.Delete
Set Rg = .FindNext
Loop
End With
End Sub
Do you like it ? So thanks to click on bottom right Like !
actually i have 200 files more than 1 sheet this type of data
i have consolidate files in One workbook then delete is this ok or shall i delete each file please tell me