LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 623
Default Merging two workbooks

I'm trying to merge two workbooks.

I select the next available row in my Bookname workbook by:

Range("A2").End(xlDown).Offset(1, 0).Select

Then I open the other workbook, determine the range and say:

Sheets("Sheet1").Range("A1").CurrentRegion.Copy _
Destination:=BookName.ActiveSheet.ActiveCell

But VBA doesn't like my destination. How do I specify the currently selected
cell in my destination workbook? Or, alternatively, the first free row (the
one after xldown)?

--
Thanks,
Fred
Please reply to newsgroup, not e-mail



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging Workbooks Diane Excel Discussion (Misc queries) 1 July 5th 08 05:51 PM
Merging Workbooks engbe Excel Discussion (Misc queries) 3 May 11th 08 11:30 AM
Help merging workbooks Cris[_2_] Excel Discussion (Misc queries) 4 October 3rd 07 03:06 PM
Merging workbooks Autumn Excel Discussion (Misc queries) 1 April 10th 07 10:08 AM
merging workbooks micky Excel Discussion (Misc queries) 0 April 28th 06 03:22 PM


All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"