H
Heera
Hi,
I want to run the below mentioned loop for only 10 times.
Does anyone know how to stop the loop after it complete 10 rounds.
Sub LOOP12()
Do Until ActiveCell.Value = ""
If ActiveCell.Value = 10 Then
ActiveCell.Offset(0, 1).Value = 15
End If
ActiveCell.Offset(1, 0).Select
Loop
End Sub
Regards
Heera
I want to run the below mentioned loop for only 10 times.
Does anyone know how to stop the loop after it complete 10 rounds.
Sub LOOP12()
Do Until ActiveCell.Value = ""
If ActiveCell.Value = 10 Then
ActiveCell.Offset(0, 1).Value = 15
End If
ActiveCell.Offset(1, 0).Select
Loop
End Sub
Regards
Heera