How to exit/skip outter do-while after finishing If-Then in nested(inner) do-while
<p>I am a newbie to VBA dealing with some real-work problem, I have a problem exit do-while after finishing the inner(nested) do-while.</p>

<p>*The code works fine, there is no issue, but I want to know how to make it more efficient by exit/skip outter do-while once the inner if-then is matched and ## is done.</p>

<p>here is what the code looks like(FYI I delete some codes for ease of reading) :</p>

<pre><code> For Each w In Worksheets  
    If () Then

       Do While (i)  ' outter do-while

            Do While ()   'inner(nested/1st do-while)
                    If () Then  'match something here

                        ## do something here

                        Exit Do      'break the inner do-while
                    End If

            Loop

            i = i + 20   'question here!!how should I break outter do-while?

        Loop                       
     End If
  Next w
</code></pre>

<p>So, my goal is that once if-then is matched and ##content is done, how could I directly go to "next w", aka jump to next worksheet?</p>

<p>I tried "goto+line" but it doesn't work, is there another way?</p>