Do...Loop Statement

  1. Do [{While|Until} condition]

    1. [statements]

      [Exit Do]

      [statements]

    Loop

     

    Do

    1. [statements]

      [Exit Do]

      [statements]

    Loop [{While|Until} condition]

 

Repeats a group of statements while a condition is true or until a condition is met.

Related Topics: While..Wend

More:

Example: