Hi,
I need help about nesting for loops, I need a VBA program that fill cells(1,1) with the value of 1, cells(2,1) with the value of 2, cells(3,1) with the value of 3......until cells (n,1) while the next cells (1,2), (2,2), (3,2)..etc reamins constant for n values then repeat the same procedure for another m values. Please see below.
A B
1 1
2 1
3 1
4 1
1 2
2 2
3 2
4 2
1 3
2 3
3 3
4 3
Thanks,
I need help about nesting for loops, I need a VBA program that fill cells(1,1) with the value of 1, cells(2,1) with the value of 2, cells(3,1) with the value of 3......until cells (n,1) while the next cells (1,2), (2,2), (3,2)..etc reamins constant for n values then repeat the same procedure for another m values. Please see below.
A B
1 1
2 1
3 1
4 1
1 2
2 2
3 2
4 2
1 3
2 3
3 3
4 3
Thanks,