Effort_Driven Calculates Incorrectly If Hours Greater Than 547 |
Q124031
kbprg kbcode
The Effort_Driven scheduling macro does not function correctly for a work
value greater than or equal to 547 hours. When you run this macro for a
task that has a total amount of work greater than or equal to 547h, the
results will be inconsistent.
NOTE: This problem does not occur in Microsoft Project for the Macintosh version 4.0.
This problem occurs because the variable for work is declared as type Integer, which means that the limit for the value of work is 32,767/60 or 546 hours (note that the integer value is divided by 60 because work is returned in minutes).
To work around this problem, follow the procedure below to declare nTaskWork at type Long:
Dim nTaskWork as Integer
to:
Dim nTaskWork as Long Additional query words: 547h
Keywords :
Issue type : kbbug
Technology : kbProjectSearch kbProject400
|
Last Reviewed: November 5, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |