vba break out of while loop code example
Example: vba break out of while loop
Do While True
count = count + 1
If count = 10 Then
Exit Do
End If
Loop
Do While True
count = count + 1
If count = 10 Then
Exit Do
End If
Loop