Hi. If I understand it correctly, is this something that would work?
Sub Demo()
Dim J As Long
For J = 1 To 10
' do something
If J 2 Then Exit For
Next J
End Sub
HTH. :)
--
Dana DeLouis
Win XP & Office 2003
"Jean-Jerome Doucet via OfficeKB.com" wrote in message
...
Hi,
I have a for next looping in vba that had many if and Do Until in it, but
not embedded. I'd like to say to the loop "Next i" in a If condition if
this
If condition in the beginning in the loop is respected. Is there a way to
do
so?
Thx !
JJD
--
Message posted via http://www.officekb.com