Not to keep bugging you, but I'm trying to get some dates figured now.
I have 3 text boxes (text1, text2, text3)
In text1, I have the EnrollDate
In text2, I want it to auto calculate 18 mths away
In text3, I want it to show the difference between text2 and today's date. Essentially a count down of days left.
The closest I got is this code:
Private Sub Form_Current()
Text172.Value = DateAdd("m", 18, Text170.Value)
Text174.Value = DateDiff("d", Text172.Value, "=Date()")
End Sub
My problem, I think, is in the =Date() part. I haven't found how to get todays date written properly.