Re: A Do...Loop that doesn't work?
Could you provide the actual code your using?
www.ispmaker.net
"Shadow Designs" <shadow5731@yahoo.com> wrote in message
news:vglbm9k8k8rn8c@corp.supernews.com...
> I've been trying to figure this out on why it returns a 'Loop without Do
> error"...Everything done inside the do/loop is almost exactly the same in
> another part of the program in VB6, but for some reason, I get the error
> 'loop without do' in this one. I also double-checked and there are no
exits
> or calls to any other parts of the program inside this anywhere. Is this
> some kind of glitch, or does it have to have something before the DO when
> you go into the sub?
>
> ....abbreviated code below:
>
> Private Sub yadayada()
> Do (this is the problem loop here)
> code....
> for/next
> code.......
> for/next
> code.......
> for/next
> code.......
> for/next
> Do
> Do
> for/next
> Select Case
> (the cases and their code)
> End Select Case
> Loop Until...
> code.......
> Loop While
> code.......
> for/next loop
> code.......
> a for/next loop
> Loop While (where it returns the error)
> code.......
> end sub
>
>
>
Fnews-brouse 1.9(20180406) -- by Mizuno, MWE <mwe@ccsf.jp>
GnuPG Key ID = ECC8A735
GnuPG Key fingerprint = 9BE6 B9E9 55A5 A499 CD51 946E 9BDC 7870 ECC8 A735