Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to go to the next iteration of my loop from within my IF
statement. How is this done? I can't belive I can't find such a simple thing on my own... For i = 1 To lastrow ...do something If Mid(str1, 1, 3) = "USA" Then ... do something else Next ///// gives me compile error "next without for" End If ...do something Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
for loop with if statement | Excel Worksheet Functions | |||
loop Statement | Excel Programming | |||
If statement - Loop? | Excel Discussion (Misc queries) | |||
Help with a loop VBA with an if statement | Excel Programming | |||
Do Until loop with if statement | Excel Programming |