sweeneytime
Board Regular
- Joined
- Aug 23, 2010
- Messages
- 183
Hi guys,
I have a range ("B2:J" & Last Row) which takes an input, calculates, then I wish to paste the results to the last row of another sheet. I could do it with an ordinary selection.copy and paste, but the loop runs approx 4000 times and is rather slow.
I found some efficent code I am trying to adapt.
My attempt: But it only pastes in the first cell of the range. I need to paste the whole range. Some sort of ("A" & LR:"I" & LR)
Any solutions or other suggestions would be appreciated.
Cheers,
Sweeneytime
I have a range ("B2:J" & Last Row) which takes an input, calculates, then I wish to paste the results to the last row of another sheet. I could do it with an ordinary selection.copy and paste, but the loop runs approx 4000 times and is rather slow.
I found some efficent code I am trying to adapt.
HTML:
Sheet2.Range("B1:B200").Value= Sheet1.Range("A1:A200").Value
My attempt: But it only pastes in the first cell of the range. I need to paste the whole range. Some sort of ("A" & LR:"I" & LR)
HTML:
Sheets("Pivot Data").Range("A" & LR2 + 1).Value = Sheets("Data Setup").Range("B2:J" & LR1).Value
Any solutions or other suggestions would be appreciated.
Cheers,
Sweeneytime