Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, I have posted some of the code under my initial message.
Regars, "Chip Pearson" wrote: I'm not clear what you are trying to do (example code would be useful), but perhaps the following code will get you started. Dim XEQ2 As Boolean Dim N As Long Dim ExitFirst As Boolean For N = 1 To 10 Debug.Print N ' set the value of ExitFirst to True to exit out of the ' first For loop. If ExitFirst Then ' set XEQ2 to True to run the second loop. XEQ2 = True Exit For End If Next N If XEQ2 = True Then For N = 11 To 20 Debug.Print N Next N End If -- Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group Pearson Software Consulting, LLC www.cpearson.com (email on web site) "C. Corodan" wrote in message ... Hello, I have a For function executing a loop. Inside this function, before it is completed, I want to launch a new For function for a different loop. Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
function to make a running total | Excel Discussion (Misc queries) | |||
Running a Macro from a Spreadsheet Function | Excel Worksheet Functions | |||
VBA Function running order | Excel Programming | |||
Running Ontime's procedure while another function is running? | Excel Programming | |||
Running worksheet function in VBA | Excel Programming |