RP1America
Technical User
Column H is formatted as:
I want to delete any row that has a time of 15:59:59 or prior. The following code is deleting every row.
Any suggestions?
Code:
Columns("H:H").NumberFormat = "h:mm:ss;@"
I want to delete any row that has a time of 15:59:59 or prior. The following code is deleting every row.
Code:
If Cells(i, "H").Value <= Format("15:59:59", "hh:mm:ss") Then
Cells(i, "A").EntireRow.Delete
End If
Any suggestions?