rrocker1405
Member
Hi,
I'm trying to create loop for the following.
Loop 1:
insert 2 rows for every entry in column A
Loop 2:
Copy the formula in b1 and paste in b4 and then b7 and then b10 until there is an entry in column A
Loop 3:
a. Copy the formula in b2 and paste it in b5 and then in b8 and until there is an entry in column A
b. Copy the formula in b3 and paste it in b3 and then in b6 and until there is an entry in column A
Loop 4:
The loops should repeat until there is a value in each row and in each column. for example for row 1 the above loops should repeat until column k and column A should should repeat until row 12
Attached is the file for your reference.
not sure if all the above loop could be done in a single vba code. please advise.
Thanks in advance.
Kind regards,
A!
I'm trying to create loop for the following.
Loop 1:
insert 2 rows for every entry in column A
Loop 2:
Copy the formula in b1 and paste in b4 and then b7 and then b10 until there is an entry in column A
Loop 3:
a. Copy the formula in b2 and paste it in b5 and then in b8 and until there is an entry in column A
b. Copy the formula in b3 and paste it in b3 and then in b6 and until there is an entry in column A
Loop 4:
The loops should repeat until there is a value in each row and in each column. for example for row 1 the above loops should repeat until column k and column A should should repeat until row 12
Attached is the file for your reference.
not sure if all the above loop could be done in a single vba code. please advise.
Thanks in advance.
Kind regards,
A!