hi,
I am totally new to vba, and need help with the code.
I have 20 numbers need to automatically fill in column a and column b in the way of:
A1: 1 B1: 1
A2: 1 B2: 2
A3: 1 B3: 3
............
A20:2 B20: 20
A21:2 B21: 1
A22:2 B22: 2
A23:2 B23:3
A? :2 B? : 20
...........
till
A? :20 B?:1
A? :20 B?:2
A? :20 B?:3
A? :20 B?:20
for the extension of this, I also need to fill in column C, so the idea will be as below:
A1: 1 B1: 2 C1:1
A2: 1 B2: 2 C2:2
A3: 1 B3: 2 C3:3
.........................
A20:1 B20:2 C20:20
A21:1 B21:3 C21: 1
A22:1 B22:3 C21: 2
A23:1 B23:3 C21: 3
--------------------
A? :1 B?: 3 C?: 20
.........................
till
.........................
A? : 20 B?: 20 C?:18
A? : 20 B?: 20 C?:19
A? : 20 B?: 20 C?:20
Please help, thank you!
Bookmarks