Renganathan
New Member
Guys,
I have set of variables namely w,x, y,z & each variable have been assigned with some numbers.
Now I want to create a VBA program for doing some calculation. Inside the code i want to make the variables used in cyclic manner.
Say if i start with y, then next should be x,w,z & stop at that place. And instead of y if i start with w, then next should be z,y,x & stop at that point.
Hope i have written it clear. Please help me to do the same in excel/VBA
I have set of variables namely w,x, y,z & each variable have been assigned with some numbers.
Now I want to create a VBA program for doing some calculation. Inside the code i want to make the variables used in cyclic manner.
Say if i start with y, then next should be x,w,z & stop at that place. And instead of y if i start with w, then next should be z,y,x & stop at that point.
Hope i have written it clear. Please help me to do the same in excel/VBA