Private Sub TextBox2_Change()
If CDate(Me.TextBox2.Value) = DateValue(Date) Then
Me.TextBox2.BackColor = vbRed
Else
Me.TextBox2.BackColor = vbWhite
End If
End Sub
Private Sub TextBox2_Change()
If CDate(Me.TextBox2.Value) = DateValue(Date) Then
Me.TextBox2.BackColor = vbRed
Else
Me.TextBox2.BackColor = vbWhite
End If
End Sub