Link to home
Start Free TrialLog in
Avatar of schmir1
schmir1Flag for United States of America

asked on

Function to return work days from date range

I'm looking for a function that will return just work days (M-F) from a date range.  I would pass it a begining date and an end date and it would return a count of work days.  I need this for a VBA function that I am writing to find out how close people are when they estimate a project length.  I do have Total Visual Sourcebook but haven't used it yet (in case they have it).
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America 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
SOLUTION
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 schmir1

ASKER

Capricorn1

Thanks.  Your function is short and sweet and worked right out of the box.  I also liked the fact that it can count holidays also.