View Full Version : Solved: Copy a range of data and paste to the last row of another workbook
bananatang
12-18-2008, 04:59 PM
Hi,
I need a macro that will copy a selected range from an existing worksheet in a workbook and paste the data to the last row in another workbook on a particular worksheet.
Any help would be apprecaited.
Thanks BT
n8Mills
12-18-2008, 06:25 PM
Easy one!
Range("yourRange").Copy Workbooks("Different Workbook.xls").Sheets("Whatever Sheet").Range("A65536").End(xlUp).Offset(1, 0)
This assumes that column "A" will by your baseline for the "last row", and that you want to paste into the "A" column
bananatang
12-18-2008, 06:44 PM
Hi N8mills,
Thank you for your help.
The code you provided works great.
Many Thanks.
BT
n8Mills
12-18-2008, 07:56 PM
No problem. Could you mark the thread as "Solved" now? It's under "Thread Tools" at the top.
Best regards,
Nate
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.