10-19-2010, 03:45 PM
Prema,
This will not quit from the outer loop.
Because "Exit For" transfers control to the statement following the "Next" statement, so your 2nd "Exit For" will never be executed.
This will not quit from the outer loop.
Because "Exit For" transfers control to the statement following the "Next" statement, so your 2nd "Exit For" will never be executed.