i am looking to automate the colour formatting of cells when i enter a time into a cell against the actual current time.
for example
the actual time is 11:00:00am
when i enter a time of 10:45:00 in cell D2 i want that to highlight green (so the time would be within 30 mins of the actual time), if i enter a time of 10:15:00am it would highlight amber (as it is between 30 mins and 45 mins) and if the time i enter was 10:00:00am (it would highlight red as it be over 45 minutes)
I have an VBA button which when keyed shows the actual time is in cell L9.
can this be done.
TIA
for example
the actual time is 11:00:00am
when i enter a time of 10:45:00 in cell D2 i want that to highlight green (so the time would be within 30 mins of the actual time), if i enter a time of 10:15:00am it would highlight amber (as it is between 30 mins and 45 mins) and if the time i enter was 10:00:00am (it would highlight red as it be over 45 minutes)
I have an VBA button which when keyed shows the actual time is in cell L9.
can this be done.
TIA