Delete row after 120 days

AC

Board Regular
Joined
Mar 21, 2002
Messages
153
I have a date in column C, I want to delete the whole row when this date is 120 days old based on the current day,=Now(). Can this be done? Thanks I am using Excel '97
This message was edited by ac on 2002-03-22 12:19
 
On 2002-03-22 23:22, Ivan F Moala wrote:

Last thing -- the Application.ScreenUpdating = True is unnecessary at the end of the routine, as Excel defaults back to true at the End Sub.

Thanks for your post,
Jay

Jay....screenupdating doesn't default back to true.

Ivan
[/quote]


Oh?
According to Microsoft it does, except for one exception.
The exception results from a situation that's not a common one.
For details see Article Q213606 in the MS Knowledge Base.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
On 2002-03-22 23:38, C. O. Jones wrote:
On 2002-03-22 23:22, Ivan F Moala wrote:

Last thing -- the Application.ScreenUpdating = True is unnecessary at the end of the routine, as Excel defaults back to true at the End Sub.

Thanks for your post,
Jay

Jay....screenupdating doesn't default back to true.

Ivan


Oh?
According to Microsoft it does, except for one exception.
The exception results from a situation that's not a common one.
For details see Article Q213606 in the MS Knowledge Base.

[/quote]

Yes this is true in that the Screen resets
(Excel2000+ only) BUT the status for
screenupdating is still set to False within
the program....

Help File States..
ScreenUpdating Property

True if screen updating is turned on. Read/write Boolean.

Remarks

Turn screen updating off to speed up your macro code. You won't be able to see what the macro is doing, but it will run faster.

Remember to set the ScreenUpdating property back to True when your macro ends.

So I genearally always reset this in the program
especially for backwards compatibilty PLUS
the fact that most of my routines are called
from others and may / may not require the screen update.



Ivan
 
Upvote 0
Thanks everyone I ended up using Jay's, with the screen updated added, thanks to Ivan. Thanks for all the help, great site, lots of people helping each other out :)
This message was edited by AC on 2002-03-23 06:50
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top