Sebastiandiaz
Member
Hello. I'd love to get help to make a Textbox to change the back color based on the actual date. I have set 12 Textboxes, but I need the Textboxes to change the back color depending on the actual date. For example. If today is January 1st, I need the Textbox to change the back color to "Red", but if today is December 31st, I need the Textbox to change the back color to "Gray" Another example: In the file that I have sent as an attachment, Textbox5(which represents "May", the Textbox called "txDate" displays the actual date " Tuesday, May 25, 2021". I need that the Textbox5 to change color to red(May has 31 days, so Textbox5 represents all the month of May), and after May 31st, I need that Textbox5 to change the back color to "Gray" and when the actual date changes to June 1st, Textbox6 will automatically to change back color to "Red" and so on forth. It´s like highlighting the Textbox that matches the "Actual Date" criteria and when the month changes, to turn back the Textbox to another color the Textbox that doesn't match. I hope to have explained in an assertive way what I need. I the pictures I have sent, you can see an example of what I need.
Thank you so much in advance.
Thank you so much in advance.