Are you asking a question ? OR you are looking forward for a confirmation of the answer to your question ?
A friendly suggestion mate...dont complicate yourself comparing Java with VBA...you bet this is way too different in terms of syntax and logic as well...I am a JCP but here I am so a learner in VBA and I do follow a primary principle "never to compare java syntax with VBA" else you wud mess with your Java funda as well !
for i = 0 to ubound(dataArray)
if left(dataArray(i,3), 1) ="z" then continue
cells(i,1).value = dataArray(i,1)
next i
Yee Khon
What exactly are you trying to do?
As far as I'm aware there is no equivalent of Continue in VBA.
But there are probably other methods to achieve what you want.
For/Do/While
' code'
If Condition then Continue
' more code'
End For/Loop
For/Do/While
' code'
If Condition then GoTo EndLoop
' more code'
EndLoop:
End For/Loop
For/Do/While
' code'
If Not Condition then
' more code'
End If
End For/Loop