The problem is really simple but I could not find any efficient solution. I have a table. I want to loop through and delete the entire row when some condition are met. The code I use is the following:
Range("H3").Select
Range(Selection, Selection.End(xlDown)).Select
Dim cellule As Range
For Each cellule In Selection.Cells
If cellule.Value = "--" And ...(More condition) Then
cellule.EntireRow.Delete
End If
Next cellule
It actually works but when two consecutive rows met those condition then the 2nd one is not deleted because it has gone up when the 1st had been deleted. Basically the 2nd has been skipped.