Good day lads,
I have this code
I wrote it as such cuz i'm no expert in VBA I was wondering if there is a way to shorten the code I mean it works and everything I just think in looks dirty to have that.
Regards,
I have this code
Code:
For iCntr = lRow To 1 Step -1 If Cells(iCntr, "L") = "Close" Then
Rows(iCntr).Delete
End If
Next
For iCntr = lRow To 1 Step -1
If Cells(iCntr, "L") = "Close Supervised + Auto Notify" Then
Rows(iCntr).Delete
End If
Next
For iCntr = lRow To 1 Step -1
If Cells(iCntr, "L") = "Fail to Close" Then
Rows(iCntr).Delete
End If
Next
For iCntr = lRow To 1 Step -1
If Cells(iCntr, "L") = "Fail To Open" Then
Rows(iCntr).Delete
End If
Next
I wrote it as such cuz i'm no expert in VBA I was wondering if there is a way to shorten the code I mean it works and everything I just think in looks dirty to have that.
Regards,