Link to home
Start Free TrialLog in
Avatar of patriotpacer
patriotpacer

asked on

Calculate Work Days

In MS Access, is there a way to calculate the difference between today's date and 60 days in to the future but ONLY using weekdays?
ASKER CERTIFIED SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of patriotpacer
patriotpacer

ASKER

Do I need this table?
tblHoliday
Not if you don't care for Holidays.

/gustav
Thx.  I'll try it here shortly....
You can exclude that check:

  Do
    datTest = datNext
    ''''   datNext = DateSkipHoliday(datTest, booReverse)
    datNext = DateSkipWeekend(datNext, booReverse)
  Loop Until DateDiff("d", datTest, datNext) = 0

/gustav