How can one set the background color of textboxes from a funktion under modules. fex.
The function whatever returns a string value to some textboxes on a form. their value depends on the day of the week.
Can I also set the backround of the textbox if for example the Weekday()=1
function whatever()
{
If Weekday(Inputdate) = 1 Then
whatever = "sunday"
*******************************************
can I here change the background
*******************************************
Else
whatever = "notsunday"
End If
can someone help??
The function whatever returns a string value to some textboxes on a form. their value depends on the day of the week.
Can I also set the backround of the textbox if for example the Weekday()=1
function whatever()
{
If Weekday(Inputdate) = 1 Then
whatever = "sunday"
*******************************************
can I here change the background
*******************************************
Else
whatever = "notsunday"
End If
can someone help??