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 NetWorkingDays(StartDate As Date, EndDate As Date) As Integer
Dim intCount As Integer
intCount = 0
Do While StartDate <= EndDate
Select Case Weekday(StartDate)
Case 1, 7
intCount = intCount
Case 2, 3, 4, 5, 6
intCount = intCount + 1
End Select
StartDate = StartDate + 1
Loop
NetWorkingDays = intCount
End Function