breaking out of a loop

  • Thread starter Thread starter ChuckM
  • Start date Start date
C

ChuckM

how do I break out of a loop. As I loop down a column I'd like to
break out of the loop when I find data that meets a particular
condition.
thanks
chuck
 
Chuck:
If using Do...Loop: Exit Do
If using For...Next: Exit For
They will take you to the 1st line of code following Loop or Next.
 
Back
Top