Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
G'day guys and girls
Just a quick question, more general programming than VBA specific, and one that I haven't had to deal with before in any programming. Example (pseudo code): For i = 1 to 6 if myvar = true then if i = 3 then skip to next i else 'do my code end if end if Next i So, in simple terms, I want to skip my processing code if i = 3. However I included the "if myvar = true" code because I only want to skip i=3 if a certain condition elsewhere in my workbook is true. What's the best way to go about this? Thanks very much Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find loop doesn't loop | Excel Discussion (Misc queries) | |||
Loop | Excel Programming | |||
Do Until Loop | Excel Programming | |||
Worksheet_Change - loop within a loop | Excel Programming | |||
HELP!!!! Can't stop a loop (NOT an infinite loop) | Excel Programming |