LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default how do I delete a row automatically after each date

Galimi,

I had it working until I lost the formula you gave me. It was the one you
sent me in reply 2 something like ()+1.
could you please send it again, I must have deleted it thanks again


"galimi" wrote:

I've corrected the code and put it at

http://HelpExcel.com/examples

It's named autoDelete.xls

This will delete the entire row.
--
http://HelpExcel.com

516-984-0252


"delete automatically" wrote:

Galmini,

were almost there, I have the dates in column A row 1 I also have other
stuff in columns 2 thru 10. The date in column 1 delets but everything to
the right stays there. What I'm looking for is to delete the whole row when
that date ends.

Thanks for your patients


"galimi" wrote:

Correct. Try entering a date prior to today. You will notice that the
entire row will delete automatically.
--
http://HelpExcel.com




"delete automatically" wrote:

So, are saying , everything in that row will be deleted after that date?

"galimi" wrote:

I have copied an example to
http://HelpExcel.com/examples

--
http://HelpExcel.com




"delete automatically" wrote:

Where do I copy it too?
Thanks for your help

"galimi" wrote:

You can embed code similar to the following on an selection change event for
the sheet

For Each cl In ActiveSheet.UsedRange.Cells

If cl.Value < Now Then

ActiveSheet.Rows(cl.Row).Delete

End If

Next
--
http://HelpExcel.com




"delete automatically" wrote:

how do I delete a row automatically after each date is over

 
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
Automatically filling date of today (without it changing tomorrow) Jaydubs Excel Discussion (Misc queries) 5 June 27th 06 05:11 PM
In Excel why does the date I enter automatically change by 1 day? skoag Excel Worksheet Functions 1 May 8th 06 09:48 PM
date of monday of each week automatically mturner Excel Discussion (Misc queries) 0 January 5th 06 04:23 PM
Excel to automatically enter a date Jim Excel Worksheet Functions 1 June 11th 05 07:12 PM
Automatically enter today's date as a static entry David Excel Worksheet Functions 1 June 4th 05 04:54 PM


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