Is there a method of exiting/breaking a while in VBS/VBA?
while
Following code won't work as intended:
num = 0 while (num < 10) if (status = "Fail") then exit while end if num = num+1 wend
what about changing the while loop to a do while loop
and exit using
Exit Do