LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,670
Default How to break the FOR loop?

Does anyone have any suggestions on how to exit FOR loop?
Thanks in advance for any suggestions
Eric

For Each myCell In myRng.Cells
' if wkbk.Sheets("Check").Range("O18").Value = 0 then exit FOR loop
Next myCell
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Break out of a loop in Excel2007? Don Excel Discussion (Misc queries) 8 May 4th 09 09:48 PM
XL2003 VBA: Debuging...can not break or run in break/step mode. Conan Kelly Excel Programming 1 August 23rd 08 11:51 AM
Loop throught closed workbooks and break a specifc Link in each. Cresta Excel Programming 2 July 30th 08 02:47 PM
how to break out of an if statement and continue to loop Darren Excel Programming 2 February 12th 07 05:39 PM
How do you test to break out of a find loop? Henry Stock Excel Programming 4 February 26th 04 11:15 PM


All times are GMT +1. The time now is 09:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"