Chance1234
IS-IT--Management
I need help on a function that returns the date 2 working days before the current date, so if the date was monday it would return thursdays date the week before
im this far
Function fUnCntTwoDatysBack(Togo As Date)
Dim IsWeekend As Boolean
Togo = Togo - 2
Select Case Weekday(Togo)
Case vbSaturday, vbSunday
IsWeekend = True
Case Else
IsWeekend = False
End Select
Chance
im this far
Function fUnCntTwoDatysBack(Togo As Date)
Dim IsWeekend As Boolean
Togo = Togo - 2
Select Case Weekday(Togo)
Case vbSaturday, vbSunday
IsWeekend = True
Case Else
IsWeekend = False
End Select
Chance