![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Nov 2004
Posts: 6
Rep Power: 0
![]() |
Hi everyone, I have an if then else statement that contains a for loop and another if statement. It also contains another for loop and if statement after the Else part. What I want to do is jump out of the nested if. I've shown below the structure to make it easier to explain.
If For....... If...... .......................... (This is where I want to jump out of all these statements) End If Next ....................... Else For....... If....... ............................ End If Next .................. End If (This is where I want to jump to) ............................. ............................. I know that I can use Exit Sub to jump to the end of the sub, and I know I can use Exit For to jump out of a for loop but they are no use to me here. If anyone knows if it's possible to do what I want, then I could use your help. Cheers |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|