This code that I have only seems to copy, paste, and delete every other row. I'm at a lost any ideas anyone?
Dim c As Long, rG As Range, vR As Variant
c = 1000
Dim wsA As Worksheet, wsC As Worksheet
Set wsA = Sheets("Active")
Set wsC = Sheets("Closed")
wsA.Activate
For Each rG In Intersect(Range("Y:Y"), ActiveSheet.UsedRange)
vR = rG.Value
If InStr(vR, "Yes") > 0 Then
rG.EntireRow.Copy wsC.Cells(c, 1)
rG.EntireRow.Delete
c = c + 1
End If
Next rG
Also the only reason I have C = 1000 is because I don't know how to make it insert into Sheets("Closed") Column A at the end where the first empty cell is. I would rather that because once we have other 1000 cells filled my code with start replacing at cells A1000.
Thanks for any help guys