PRJ4: AdjustDates macro Seems to Schedule Tasks Incorrectly (149950)



The information in this article applies to:

  • Microsoft Project for Windows 4.0
  • Microsoft Project for Windows 95 4.1
  • Microsoft Project for Windows 95 4.1a
  • Microsoft Project for the Macintosh 4.0

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.

Modification Type:MajorLast Reviewed:11/25/2003
Keywords:kbinfo kbusage KB149950