ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   automatically insert new row (https://www.excelbanter.com/excel-programming/347282-automatically-insert-new-row.html)

Geoff

automatically insert new row
 
my database manages service calls, it already add six months to a Service
date.What i need it to do is copy the information from that row and paste it
to a new row (based on the date) which may be between other rows already
present ie.

Date Serviced Company Next Ser Date
10/02/05 acme Ltd 10/08/05

Database:

Date Due Company
09/08/05 Collus Ltd
11/08/05 Dillo Ltd

Please help

Tom Ogilvy

automatically insert new row
 
use

res = application.Match(clng(datetoadd),RangeofDates,1)

to find the row in the RangeofDates range

This is the worksheetfunction Match, so see Excel Help on Match for
specifics.

--
Regards,
Tom Ogilvy



"Geoff" wrote in message
...
my database manages service calls, it already add six months to a Service
date.What i need it to do is copy the information from that row and paste

it
to a new row (based on the date) which may be between other rows already
present ie.

Date Serviced Company Next Ser Date
10/02/05 acme Ltd 10/08/05

Database:

Date Due Company
09/08/05 Collus Ltd
11/08/05 Dillo Ltd

Please help





All times are GMT +1. The time now is 08:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com