Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default How to automatically copy new data in an excel sheet

I have an Excel file for keeping track of Purchase orders, whose
fields get populated progressively by date. The workbook contents is
similar to the following

Date Bin No. Order no.

02-dec-08 SB3241 SS/432

05-dec-08 SC1157 SX/201

07-dec-08 SB0134 SS/456

...and so on and so forth.
There is another Excel workbook where I copy and paste the above
contents. There are other fields in the 2nd workbook, used for
analysing the full data.

Now everytime a new date/or new Purchase Order gets populated in the
first Excel file, I copy that corresponding row/rows and paste it at
the desired location, just a row below from previously copied data in
the 2nd Excel file. So everytime, I have to check whether there is a
new entry in the first book, and then copy row by row to the 2nd excel
book.

Is there any way, by the help of a macro, where the code will
understand the data range in the First workbook and then select and
copies it to the 2nd workbook. If there are no new entries, the
program exists.

Thks for the help

Shriil

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default How to automatically copy new data in an excel sheet

Hi

Turn on the macro recorder, and copy the new date manually, then post
the code here for further help.

Will there be more than one entry per date ? How is Book1 updated ?

On 6 Feb., 05:10, shriil wrote:
I have an Excel file for keeping track of Purchase orders, whose
fields get populated progressively by date. The workbook contents is
similar to the following

Date * * * * * * *Bin No. * * * Order no.

02-dec-08 * * SB3241 * * * SS/432

05-dec-08 * * SC1157 * * * SX/201

07-dec-08 * * SB0134 * * * SS/456

..and so on and so forth.
There is another Excel workbook *where I copy and paste the above
contents. There are other fields in the 2nd workbook, used for
analysing the full data.

Now everytime a new date/or new Purchase Order gets populated in the
first Excel file, I copy that corresponding row/rows and paste it at
the desired location, just a row below from previously copied data in
the 2nd Excel file. So everytime, I have to check whether there is a
new entry in the first book, and then copy row by row to the 2nd excel
book.

Is there any way, by the help of a macro, where the code will
understand the data range in the First workbook and then select and
copies it to the 2nd workbook. If there are no new entries, the
program exists.

Thks for the help

Shriil


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default How to automatically copy new data in an excel sheet

On Feb 6, 9:29*am, Per Jessen wrote:
Hi

Turn on the macro recorder, and copy the new date manually, then post
the code here for further help.

Will there be more than one entry per date ? How is Book1 updated ?

On 6 Feb., 05:10, shriil wrote:



I have an Excel file for keeping track of Purchase orders, whose
fields get populated progressively by date. The workbook contents is
similar to the following


Date * * * * * * *Bin No. * * * Order no.


02-dec-08 * * SB3241 * * * SS/432


05-dec-08 * * SC1157 * * * SX/201


07-dec-08 * * SB0134 * * * SS/456


..and so on and so forth.
There is another Excel workbook *where I copy and paste the above
contents. There are other fields in the 2nd workbook, used for
analysing the full data.


Now everytime a new date/or new Purchase Order gets populated in the
first Excel file, I copy that corresponding row/rows and paste it at
the desired location, just a row below from previously copied data in
the 2nd Excel file. So everytime, I have to check whether there is a
new entry in the first book, and then copy row by row to the 2nd excel
book.


Is there any way, by the help of a macro, where the code will
understand the data range in the First workbook and then select and
copies it to the 2nd workbook. If there are no new entries, the
program exists.


Thks for the help


Shriil- Hide quoted text -


- Show quoted text -


There can be more than one entry per date. I have tried with the macro
recorder, but then whenever there is a new entry, I have to include it
in the Range. Is there any way that the macro can automatically
identify the Range of cells having data, each time it runs
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
can i automatically copy subtotals in excel to another s/sheet? Richard Malpas Excel Worksheet Functions 1 July 7th 09 05:00 PM
Copy data from 1 work sheet to another automatically Shazza Excel Discussion (Misc queries) 7 November 13th 07 06:21 PM
Data Base, copy information one sheet to another automatically Bill Bula Excel Discussion (Misc queries) 2 November 5th 07 01:04 PM
Copy and paste cahrt to new sheet-update data automatically? SKlee Charts and Charting in Excel 5 May 28th 07 02:00 PM
How do I automatically copy data from one sheet to another? DonnaO Excel Worksheet Functions 1 March 15th 07 11:08 AM


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