Hello all,
I am relativly new to VBA, and I have spent a fair amount of time trying to figure out the following, however it appears that I am stuck!
The situation:
In one worksheet (sheet 1) I have a column of numbers
ex:
3
2
5
In another worksheet (sheet 2) I have a matrix of data that has the same number of rows as in sheet 1.
ex:
C678 2550 25 811 0
C563 2345 30 815 0
R456 5345 50 915 0
I am wanting to paste each row of sheet 2 into another sheet (sheet 3) X number of times (where X is equal to the corresponding value in sheet 1)
ex:
C678 2550 25 811 0
C678 2550 25 811 0
C678 2550 25 811 0
C563 2345 30 815 0
C563 2345 30 815 0
R456 5345 50 915 0
R456 5345 50 915 0
R456 5345 50 915 0
R456 5345 50 915 0
R456 5345 50 915 0
Can someone help me do this?! I have been trying and have not been able to get it to work at all! Thank you very much! If you need anymore information please let me know. Any help is greatly appreciated!
Thanks,
Austin
I am relativly new to VBA, and I have spent a fair amount of time trying to figure out the following, however it appears that I am stuck!
The situation:
In one worksheet (sheet 1) I have a column of numbers
ex:
3
2
5
In another worksheet (sheet 2) I have a matrix of data that has the same number of rows as in sheet 1.
ex:
C678 2550 25 811 0
C563 2345 30 815 0
R456 5345 50 915 0
I am wanting to paste each row of sheet 2 into another sheet (sheet 3) X number of times (where X is equal to the corresponding value in sheet 1)
ex:
C678 2550 25 811 0
C678 2550 25 811 0
C678 2550 25 811 0
C563 2345 30 815 0
C563 2345 30 815 0
R456 5345 50 915 0
R456 5345 50 915 0
R456 5345 50 915 0
R456 5345 50 915 0
R456 5345 50 915 0
Can someone help me do this?! I have been trying and have not been able to get it to work at all! Thank you very much! If you need anymore information please let me know. Any help is greatly appreciated!
Thanks,
Austin