Sair de um loop While… Wend
Eu estou usando um loop While ... Wend do VBA.
Dim count as Integer
While True
count=count+1
If count = 10 Then
''What should be the statement to break the While...Wend loop?
''Break or Exit While not working
EndIf
Wend
Eu não quero usar condição como `While count <= 10 ... Wend