Conditional Formatting dates

rscott1989

Registered User.
Local time
Today, 20:11
Joined
Oct 24, 2013
Messages
21
I am trying to get my expiration date field to highlight a certain color once the date comes closer.

I have weapons qualification dates. The user will input the date he/she qualified and then a expiration date (6 months from that day) automatically pops up.

Now what I want to do is once the expiration dates gets closer is change the color. So when it is 90 days from expiration it would highlight yellow, and when its 30 days away it would highlight red.

I believe this can all be done through conditional formatting, but for the life of me I cant figure it out!!

Any help is welcomed!!!!!
 
Where exactly are you trying to do this?
 
im using access 2010. Im using it in one of my forms. I am attaching a pic.
 

Attachments

  • dates.jpg
    dates.jpg
    100.6 KB · Views: 184
Sorry i am still learning this. I am not getting an error when i use the conditional formatting, I dont get anything. Thats why i think im just not inputting it correctly is there a way to use VBA insted? (Which im still not too savvy on)

something like

If expiration date > 90 - start_date
change color to XXXX

Does that make any sense? or am i completely missing it??? Im sure there is a certain code or something to make this easier, just not sure what it is yet haha.

Thanks for your patience!
 
Sure VBA can be used to do this.. You need to make use of the Form Current method.. BUT Before going there, check out the link I posted in Post#4..
 

Users who are viewing this thread

Back
Top Bottom