Jump to next iteration in a loop
Say you got a loop like the one below. How do I accomplish the same task without the goto statement?
For Each MyControl In ControlCollection
If TypeOf MyControl Is Whatever Then Goto SkipThisOne
' Provide code here to work with valid MyControl
SkipThisOne:
Next MyControl
And, NO - I do NOT mean do as follows...
For Each MyControl In ControlCollection
If not TypeOf MyControl Is Whatever Then
' Provide code here to work with valid MyControl
end if
Next MyControl
tia
avi