sturdyboyrich
New Member
HI all,
I'm driving myself nuts trying to figure out how to reference a variable based on a incremented loop value..
so say i have a load of variables
loopnum = 2
offset1 =2
offset2 =5
then i do a loop
For la=1 To lasnum-1
offx = "offset" & la
Next
how do i reference the variable offset1 based on the la value...
sorry I'm sure this is really basic but I just can't figure it out..
Thanks
Rich
I'm driving myself nuts trying to figure out how to reference a variable based on a incremented loop value..
so say i have a load of variables
loopnum = 2
offset1 =2
offset2 =5
then i do a loop
For la=1 To lasnum-1
offx = "offset" & la
Next
how do i reference the variable offset1 based on the la value...
sorry I'm sure this is really basic but I just can't figure it out..
Thanks
Rich