The Exit script keyword is part of the Exit Script statement, but can also be used to exit Do, For or Sub clauses.
Exit script
Do..loop
For..next
For each..next
Sub..end sub
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!