Macros In Excel

Ribs7774

New Member
Joined
Jan 2, 2014
Messages
6
Hi,

I need a marco that can check if a date & time entered is over 48Hours & if it is to delete the data in this row.

Example:
Time Set for entry is = 02/01/2014 12.00

After 48 Hours has expired > 04/01/2014 12.01

This row is deleted.

If the entry has not expired the row is to remain until it has expired.

There maybe up to a couple hundred entries, so manually checking is not ideal, but I believe a macro can do the trick just not sure how to setup the marco script.

Thanks in advance for your assistance :)
 
Thanks :)

I had to make an adjustment to allow for a different time zone but that was pretty easy.


Thanks again for you assistance
 
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.

Forum statistics

Threads
1,214,915
Messages
6,122,212
Members
449,074
Latest member
cancansova

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