I use the follow code in the load section of a form.
Private Sub Form_Load()
Me.StartDate.Value = Date
Me.EndDate.Value = Date
Select Case Month(Date)
Case 1 To 6
Me.SchoolYear.Value = DateSerial(Year(Date - 365), 7, 1)
Case Else
Me.SchoolYear.Value = DateSerial(Year(Date), 7, 1)
End Select
End...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.