Hello!
I'm trying to delete all rows with "Yes" in column G, but for some reason it doesn't work. Would anyone have suggestions to help me fix this coding?
Thanks!
I'm trying to delete all rows with "Yes" in column G, but for some reason it doesn't work. Would anyone have suggestions to help me fix this coding?
Code:
Dim rng As Range
Set rng = Sheets("Summary").Range("G3:G8000")
Dim c As Range
For Each c In rng
If c = "Yes" Then
c.EntireRow.Delete
End If
Next c
End Sub
Thanks!