What is the syntax to stop loops

'for For Loops
Exit For

'for Do Loops
Exit Do

Exit statements will exit immediately and jump to next statement after the loop.

Advertisements