Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub ADD2YearsDates()
Dim iCounter As Integer
Dim iStart As Integer
Dim iStop As Integer
Dim RunningDate As Date
iStart= DateDiff(DateAdd("y", -1, Date()), Date())
iStop= DateDiff(Date(), DateAdd("y", 1, Date())
For iCounter = iStart To iStop
RunningDate= Date() + iCounter
Select Case Weekday(RunningDate)
Case 2 To 6
CurrentProject.Connection.Execute "ISNERT INTO
yourDatesTable(myDate) VALUES (#" & RunningDate & "#)"
End Select
Next
End Sub