--
Please try to keep replies in this group. I do check e-mail, but only
infrequently.
For Macros and other things check http://masamiki.com/project
-Jack Dahlgren, Project MVP
+++++++++++++++++++
"Dean Reed" <de...@dprinc.com> wrote in message
news:048f01c2a01c$959d2ef0$d7f82ecf@TK2MSFTNGXA14...
Here is the syntax:
----------------------------------
DateDifference -Returns the duration between two dates in minutes.
Syntax:
expression.DateDifference(StartDate, FinishDate, Calendar)
expression Required. An expression that returns an Application object.
StartDate Required Variant. The date used as the beginning of the duration.
FinishDate Required Variant. The date used as the end of the duration.
Calendar Optional Object. A resource or task base calendar object. The
default value is the calendar of the active project.
----------------------------------
This code should give you the duration of the first task in your project.
Application.DateDifference(activeproject.Tasks(1).Start,activeproject.Tasks(
1).Finish, Standard)
--
Please try to keep replies in this group. I do check e-mail, but only
infrequently.
For Macros and other things check http://masamiki.com/project
-Jack Dahlgren, Project MVP
+++++++++++++++++++
"Dean Reed" <de...@dprinc.com> wrote in message
news:057d01c2a06f$17400200$89f82ecf@TK2MSFTNGXA01...