I have a script something like this (the real script has alot of nested for-next statements, so no answers with counters please!):
For each DataItem in DataArray
SplitData = Split(DataItem, ",")
For Each SplitItem In SplitData
If SplitItem = "Bad Condition" Then
If the script encounters the 'Bad Condition' it tries to skip out of the For-Next, but the array SplitData is still locked by it, I need an 'End Next' statement or something? any ideas? I know I could use For i = 0 to ubound(SplitData) etc... and I will if I have to, but I would rather not use algebra counters if I there is a better way.