XLA routines: EE_IsWeekday
EE_IsWeekday is a function that takes a date, and returns whether it is a weekday.
Function EE_IsWeekday(dt As Date) As Boolean 'Takes a date, returns if it's a weekday 'http://excelexperts.com/xla-routines-eeIsWeekday for updates on this function Select Case Format(dt, "w") Case vbSaturday, vbSunday EE_IsWeekday = False Case Else EE_IsWeekday = True End Select End Function
»
- Nick's blog
- Login or register to post comments
- 2523 reads
Recent comments
5 years 36 weeks ago
6 years 22 weeks ago
6 years 34 weeks ago
6 years 37 weeks ago
6 years 38 weeks ago
6 years 43 weeks ago
6 years 52 weeks ago
7 years 2 days ago
7 years 3 days ago
7 years 3 days ago