dubmartian
New Member
- Joined
- Dec 16, 2016
- Messages
- 20
Hi all, I have searched and found pieces of parts but I really need your help.
Here is my task.
1. I have (x) number of rows with various text in a single column
1.5 I would like to copy the text in each row.
2. I would like to take each row, insert x number of rows beneath that and paste that text in the empty rows
3. and do this for the total amount of rows that were initially populated with text.
(Initial Text) Row 1 xxxxxx
Row 2 yyyyyy
Row 3 zzzzzzz
(Number of new rows input = 4)
(New Text) Row 1 xxxxxx
Row 2 xxxxxx
Row 3 xxxxxx
Row 4 xxxxxx
Row 5 yyyyyy
Row 6 yyyyyy
Row 7 yyyyyy
Row 8 yyyyyy
Row 9 zzzzzz
Row 10 zzzzzz
Row 11 zzzzzz
Row 12 zzzzzz
The number of rows should be inserted based on input and I have seen this VBA but not the copy paste and loop field.
If someone can help me with this it will be a life saver and I am forever grateful. I have no real VBA experience which is why I am asking for help.
DBM Thanks everyone
Here is my task.
1. I have (x) number of rows with various text in a single column
1.5 I would like to copy the text in each row.
2. I would like to take each row, insert x number of rows beneath that and paste that text in the empty rows
3. and do this for the total amount of rows that were initially populated with text.
(Initial Text) Row 1 xxxxxx
Row 2 yyyyyy
Row 3 zzzzzzz
(Number of new rows input = 4)
(New Text) Row 1 xxxxxx
Row 2 xxxxxx
Row 3 xxxxxx
Row 4 xxxxxx
Row 5 yyyyyy
Row 6 yyyyyy
Row 7 yyyyyy
Row 8 yyyyyy
Row 9 zzzzzz
Row 10 zzzzzz
Row 11 zzzzzz
Row 12 zzzzzz
The number of rows should be inserted based on input and I have seen this VBA but not the copy paste and loop field.
If someone can help me with this it will be a life saver and I am forever grateful. I have no real VBA experience which is why I am asking for help.
DBM Thanks everyone