Microsoft KB Archive/149950

= PRJ4: AdjustDates macro Seems to Schedule Tasks Incorrectly =

Article ID: 149950

Article Last Modified on 11/25/2003

-

APPLIES TO


 * Microsoft Project 4.0 Standard Edition
 * Microsoft Project 4.1 Standard Edition
 * Microsoft Project 4.1a
 * Microsoft Project 4.0 for Macintosh

-



This article was previously published under Q149950



SUMMARY
The AdjustDates macro supplied with the versions of Microsoft Project listed above may seem to schedule tasks incorrectly. This behavior occurs when the scheduled start date of the project file is not the same as the earliest scheduled start date of the tasks in the project schedule.

When you use the AdjustDates macro, the dates of the tasks may be pushed out later than the date that was entered during the macro execution.



MORE INFORMATION
The AdjustDates macro allows you to enter a new start date for your project. It then goes through the project and adjusts any tasks that are constrained to dates so that the constraint date occurs at the same place in the project relative to the new start date. If the project is scheduled from the finish date, then you can use the macro to enter a new finish date instead of a new start date. After you enter a new start or finish date for the project, the macro adjusts the date of the constraint by the difference between the original start or finish date and the new start or finish date.

If the Start of the project file is not the same as the earliest start date of the tasks in the schedule, the AdjustDates macro inadvertently reschedules the tasks to a later date than what was entered for the macro.

To see if this condition exists in your project file, do the following:


 * 1) Sort the tasks by the Start field in Descending order.
 * 2) Look at the Start field for the first task listed in the file.
 * 3) Compare the date found in step 2 above with the project Start date.

If the two dates are not equal, set the project start date to equal the start date of the first task and then rerun the AdjustDates macro.

Additional query words: 4.10a

Keywords: kbinfo kbusage KB149950

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.