B
bstobart
How can I determine the number of workhours in a given month, taking into
consideration whatever holidays have been entered into the Standard calendar?
I'm exporting data from MS-Project to MS-Excel where I'm interested in doing
some calculations. Something like the following should work, but the
Datediff function does not seem to have an interval of "workday". It just
has "weekday".
DateDiff("d", tsv.StartDate, tsv.EndDate)*8
where tsv is one of the timescale values in
Tsvs = oResource.TimeScaleData(first, _
last, Type:=pjResourceTimescaledWork, TimescaleUnit:=pjTimescaleMonths)
It would seem to be cleaner to start from the Calendar, rather than from a
Resource, since resources might have vacation days. I want the standard
hours, not an individual's hours. Any ideas?
consideration whatever holidays have been entered into the Standard calendar?
I'm exporting data from MS-Project to MS-Excel where I'm interested in doing
some calculations. Something like the following should work, but the
Datediff function does not seem to have an interval of "workday". It just
has "weekday".
DateDiff("d", tsv.StartDate, tsv.EndDate)*8
where tsv is one of the timescale values in
Tsvs = oResource.TimeScaleData(first, _
last, Type:=pjResourceTimescaledWork, TimescaleUnit:=pjTimescaleMonths)
It would seem to be cleaner to start from the Calendar, rather than from a
Resource, since resources might have vacation days. I want the standard
hours, not an individual's hours. Any ideas?