Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Problem with go to
Dears;
I have a problem in which I've spent some hours without finding the solution. I've a big program with this structure more or less: Do while ma1 seq=ma2(.....) ma = ma-1 Loop Do while ma=1 seq=ma1(.....) ma = ma-1 Loop Do while mm1 seq=mm2(.....) mm = mm-1 Loop Where ma2, ma1, mm2 are functions and this code is in a sub. ma2 gives me the first result. This first result can affect the results of the other functions, and depending on the results of ma1, mm2 maybe I've to come back to the beggining of the problem. And I don't know how to do this "go to". Can you help me please? If I have misexplained anything please, tell me. Thanks and KR! -- atrep |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Problem with go to
Could you place your loops inside an outer loop?
"xavi garriga" wrote in message ... Dears; I have a problem in which I've spent some hours without finding the solution. I've a big program with this structure more or less: Do while ma1 seq=ma2(.....) ma = ma-1 Loop Do while ma=1 seq=ma1(.....) ma = ma-1 Loop Do while mm1 seq=mm2(.....) mm = mm-1 Loop Where ma2, ma1, mm2 are functions and this code is in a sub. ma2 gives me the first result. This first result can affect the results of the other functions, and depending on the results of ma1, mm2 maybe I've to come back to the beggining of the problem. And I don't know how to do this "go to". Can you help me please? If I have misexplained anything please, tell me. Thanks and KR! -- atrep |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Colon at the end of excel file name(ex: problem.xls:1, problem.xls | New Users to Excel | |||
Started out as an Access problem. Now an Excel problem | Excel Discussion (Misc queries) | |||
problem with a conditional max problem | Excel Discussion (Misc queries) | |||
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? | Excel Programming |