Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default update second workbook

I need to be able to take cell values from workbook 1 and paste them into the
next available blank row in column B of workbook 2. Is this possible and how
do i do it?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jay Jay is offline
external usenet poster
 
Posts: 671
Default update second workbook

Hi Ingalla -

Here's one approach. Change the workbook, sheet names, and source range to
suit.

Sub Ingalla()

Set wb1 = Workbooks("Workbook1.xls")
Set ws1 = wb1.Worksheets("Sheet1")
Set wb2 = Workbooks("Workbook2.xls")
Set ws2 = wb2.Worksheets("Sheet1")

ws1.Range("A1:A10").Copy _
Destination:=ws2.Cells(ws2.Rows.Count, 1).End(xlUp).Offset(1, 0)

End Sub

---
Jay


"ingalla" wrote:

I need to be able to take cell values from workbook 1 and paste them into the
next available blank row in column B of workbook 2. Is this possible and how
do i do it?

Thanks

Reply
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
WorkBook Update NotGood@All Excel Worksheet Functions 4 February 2nd 09 11:43 PM
update workbook MAANI Excel Worksheet Functions 1 August 6th 08 10:50 AM
Can one workbook/sheet update another workbook? jtpryan Excel Discussion (Misc queries) 0 November 13th 07 03:56 PM
Macro need to update the workbook x6v87qe Excel Discussion (Misc queries) 6 May 3rd 07 04:42 AM
Update a workbook from a script [email protected] Excel Discussion (Misc queries) 1 March 8th 06 02:30 PM


All times are GMT +1. The time now is 11:32 AM.

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"