Works here. What is the error you try to catch ? My first thought would be
that this is actually not considered as an error...
Actually I'm not using this style anymore. My personal preference would be
to use try catch. Also if this is something that can be controlled before
hand I prefer to test that the statement won't raise an error before issuing
it, rather than letting the error happens and handle it afterward...
--
Patrice
"Lucia" <(E-Mail Removed)> a écrit dans le message de news:
(E-Mail Removed)...
> Hi, everyone,
>
> I have a for statement in my programm. I want to know if there is any
> way to goto next i when some error occurs. I tried with the following
> code. But it doesn't work...
>
> for i=0 to 100
>
> On Error Goto NEXTFOR
>
> ....
>
> NEXTFOR:
> next
>
> thanks a lot
>
> Lucia
>