I am using the following code but i feel its not the optimal one as same work is done by three for loops. Any suggestings to optimize it?
Dim i As Integer
Dim x As Integer
Dim k As Integer
Dim l As Integer
Dim m As Integer
Dim n As Integer
Range("A1:B5").Copy
For i = 1 To (Range("D2").Value)...
Incredible Andy. Thanks a lot. You have written very clean code.
It took 10 hours to hit and try (still unsucessful) and your few lines did it on a fly.
I am trying to dig a little deeper
Step 1 (Done with Andy's help):
1. Copy the content of cells A1:B5 with formatting
2. Paste it in A6...
I am new to Macros and trying to realize the following steps, but in vain
1. Copy the content of cells A1:B5 with formatting
2. Paste it in A6
3. Iterate n number of times
4. n reads the value written in cell D1
any suggestings would be highly appreciated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.