chirayu
Well-Known Member
Hi All,
This is more of a random question. I tend to use Do Until more than For Loops. I wanted to know how I would do something like the below using a For Loop
I end up skipping stuff I don't want to if I use FOR LOOP as it moved to NEXT. rather than figuring out where the new row actually is after deletion
This is more of a random question. I tend to use Do Until more than For Loops. I wanted to know how I would do something like the below using a For Loop
Code:
Do Until IsEmpty(ActiveCell)
If Something Then
'Do Something
'Delete Current Row
ElseIf Nothing Then
'Select Next Row
Else
End If
Loop
I end up skipping stuff I don't want to if I use FOR LOOP as it moved to NEXT. rather than figuring out where the new row actually is after deletion