Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. I have 12 variables that are names PN1, PN2, .... PN12
I would like to have a "For - Next" loop that would execute for i = 1 to 12 where "i" would change in the variable name. I cannot figure out how to refer to the variable: For i = 1 to 12 x = PNi + 5 Next i Any help would be appreciated ... Thanks, Mike. (Note I posted this previously in error to the "General" section) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Loop with variable name? | Excel Discussion (Misc queries) | |||
LAST value of loop to be a variable | Excel Programming | |||
loop for-next with variable end | Excel Programming | |||
For Each ... Next loop - need to reference the loop variable | Excel Programming | |||
Loop with variable | Excel Programming |