View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
David Henderson David Henderson is offline
external usenet poster
 
Posts: 17
Default exit for next loop

Is there a command to "Exit" a for next loop ?
Thanks in advance
David

Values = False
Dim ofcells As Range
For Each ofcells In Range("myrange")
If ofcells.Value < 0 Then
Values = True
Can I exit loop from here

End If
Next
to carry on from here