How to change Records Colors in every new month based on date using vba?

Local time
Today, 22:10
Joined
Dec 18, 2021
Messages
46
Hi everyone!

I have long records entered in one year and I need to change the background color of records entered every month based on date entered. I need just 2 colors alternatively between months no more.
I need to do that on subform in the Form.
Thanks for any help.
 
Divide the month by 2.
If int() of the result is equal result, use one colour, else use the other.
 
Divide the month by 2.
If int() of the result is equal result, use one colour, else use the other.
Thanks for the quick reply but sorry I couldn't apply it. I need more details in example.
Your answer will be greatly appreciated.
 
open mainForm
close the form.
open sfBankActivity form in design view.
select all textbox.
on menu->format->conditional format, and see the formatting.
 

Attachments

Users who are viewing this thread

Back
Top Bottom