Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For i = 10 To 100 Step 10
.... Next ??? -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "ellis_x " wrote in message ... Hi, I am trying to write a loop code using the For...Next statements, for a counter running from 1 To 100. However, I want to change the value of two of the variables (there are 5 used in the procedure) after counter = 10, then again at 20, 30, and so on. I have not been able to figure out how to do this without repeating the code with the new value for the variable re-defined. Has anyone got any ideas of how to overcome this problem? Cheers --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
finding the results of changing 4 variables | Excel Discussion (Misc queries) | |||
Setting Multiple Variables with a loop | Excel Discussion (Misc queries) | |||
Changing the values of variables | Excel Programming | |||
Loop for changing cell formatting | Excel Programming | |||
Changing objects on other Worksheets with Variables | Excel Programming |