for each vbscript code example
Example: vbscript for each loop
For Each item In items
...
If exitNow = True Then
Exit For
End If
Next
For Each item In items
...
If exitNow = True Then
Exit For
End If
Next