LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default returning back to loop check condition without completing the loop

If the code starts looking too bad, you could always call subroutines from
either branch of your if/then/else statement. And do all the detail work there.

ashish128 wrote:

<<snipped

Dear Dave,

To be true, I didn't use "nested if" because I was preferring a clean
solution as otherwise it would cause me to have (many if and) deep
look into my code for any alteration if I break the loop at many
points.

Second truth, It didnt came to my mind :)

I am applying Rick's suggestion to get the code work as intended.

Thanks for your guidance (If it had not been you pointing to Rick's
Post I would have never come to know about it)

Regards


--

Dave Peterson
 
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
Loop through column(s) to check values, perform action based on check ward376 Excel Programming 4 November 6th 07 03:21 PM
Add a second condition to loop Casey[_112_] Excel Programming 5 July 6th 06 11:59 PM
Loop or condition? To check down the rows KH_GS Excel Programming 4 March 29th 06 09:42 AM
Using For loop to condition bundyloco[_6_] Excel Programming 1 August 19th 05 07:25 PM
two-condition loop Jamie Martin[_2_] Excel Programming 0 October 6th 03 11:47 PM


All times are GMT +1. The time now is 03:33 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"