Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Loop through column(s) to check values, perform action based on check | Excel Programming | |||
Add a second condition to loop | Excel Programming | |||
Loop or condition? To check down the rows | Excel Programming | |||
Using For loop to condition | Excel Programming | |||
two-condition loop | Excel Programming |