Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jg jg is offline
external usenet poster
 
Posts: 42
Default auto populate unused rows from workbook to workbook

Please Help. I can't seem to get the data entered on one workbook to enter on
another workbook without over writing. I've set up a master seed file where
client data is entered and then saved as the client name. Its data entered
into rows is then set to auto populate the second workbook's first row. Is
there a method by which a second set of data will automatically know to skip
down to the next unused row on the second workbook? Anybody?
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default auto populate unused rows from workbook to workbook

It would be a lot easier if we could see the code you're using now that does
the overwriting.

The basics of it all a
set a reference to the second workbook,
set a reference to the worksheet in the second workbook
then determine next available row on that sheet.

Would look a little like this inside of some Sub code module:

Dim otherWB As Workbook
Dim otherWS as Worksheet
Dim nextAvailableRow As Long

Set otherWB = Workbooks("OtherWorkbookName.xls")
Set otherWS = otherWB.Worksheets("Other Sheet Name")
'assuming column A on the other sheet always has some info in it
lastRow = otherWS.Range("A" & Rows.Count).End(xlup).Row + 1

'now you can paste the data to be copied into otherWS.Range("A" & lastRow)

If you can't get it working from these pointers, post back with the code
you've got now and we'll try to get it going for you. BTW: the code above
will never use row 1 on the 'other sheet', it will start at row 2 even on a
clean "other sheet".

"JG" wrote:

Please Help. I can't seem to get the data entered on one workbook to enter on
another workbook without over writing. I've set up a master seed file where
client data is entered and then saved as the client name. Its data entered
into rows is then set to auto populate the second workbook's first row. Is
there a method by which a second set of data will automatically know to skip
down to the next unused row on the second workbook? Anybody?
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
AUTO-POPULATE WORKBOOK WHEN OTHER WORKBOOKS ARE CHANGED Todd Excel Discussion (Misc queries) 0 February 10th 10 04:58 PM
auto copy total from one workbook to another workbook hugrl Excel Worksheet Functions 1 February 14th 09 11:57 PM
how to populate many worksheets in a workbook chrisk Excel Discussion (Misc queries) 4 August 29th 08 01:37 PM
Taking specific rows from on workbook to create another workbook Michelle Excel Worksheet Functions 1 May 12th 07 04:54 AM
Auto updating a workbook with data from another workbook Richard Excel Discussion (Misc queries) 0 November 6th 05 03:50 PM


All times are GMT +1. The time now is 11:08 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"