Hi,
I have the following code
Is there any way of still running the above code but excluding todays date and before (column H)?
All help appreciated.
I have the following code
Code:
Sub datesorting()
For i = Range("g" & Rows.Count).End(xlUp).Row To 2 Step -1
If (Cells(i, "h").Value <> "" And Cells(i, "h").Value <= Cells(i, "g").Value) Then Cells(i, "h").EntireRow.Delete
Next i
End Sub
Is there any way of still running the above code but excluding todays date and before (column H)?
All help appreciated.