Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 371
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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



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
Insert new row automatically Fellow[_2_] Excel Discussion (Misc queries) 1 October 20th 09 09:02 AM
Insert New Row Automatically Greg Excel Discussion (Misc queries) 0 June 22nd 09 08:26 PM
Automatically insert row desperate in MS Excel Discussion (Misc queries) 5 February 10th 09 09:44 AM
Automatically insert time in excel but not automatically updated NeueN Excel Worksheet Functions 4 December 25th 08 07:29 AM
automatically insert a row Rich Hayes Excel Worksheet Functions 4 March 17th 08 03:26 PM


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