title: Break out of a While...Wend loop
body: <p>I am using a While...Wend loop of VBA.</p>
  
  <pre><code>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
  </code></pre>
  
  <p>I don't want to use condition like `While count&lt;=10...Wend</p>