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.
Public Function MakeFileName()
' Description.......: Makes a file name from the date
' Accepts...........: Nothing
' Returns...........: A file name like 20020228.mdb
' Major change list.:
Dim strDay As String ' Day number as a two-digit string
Dim strMonth As String ' Month as a two-digit string
Dim strYear As String ' Year as a four-digit string
' Generate a ymd date string
strYear = CStr(Year(Date))
strMonth = CStr(Month(Date))
If Len(strMonth) = 1 Then
strMonth = "0" & strMonth
End If
strDay = CStr(Day(Date))
If Len(strDay) = 1 Then
strDay = "0" & strDay
End If
MakeFileName = strYear & strMonth & strDay
End Function