That's very easy, for For loops, use: Exit For and for Do Loops use: Exit Do.

Luis Lazo

Last edited by shabbir; 1May2008 at 11:30.. Reason: Confine links to signature