PRJ: Incorrect TimescaledData Syntax in Visual Basic Reference

ID: Q143069

The information in this article applies to:

SUMMARY

The Visual Basic Reference Help for Microsoft Project lists "finishDate" as an argument for the TimescaledData method. This information is incorrect. The correct name of the argument is "endDate." The correct syntax of the TimeScaledData method is as follows:

   [object.]TimescaledData(taskID, resourceID, startDate, endDate, type,
   timescaleUnit, count)

The Visual Basic Reference Help for Microsoft Project also lists "SetDefaults" as an argument for the OptionsView method. This information is incorrect. There is not a SetDefaults parameter.

MORE INFORMATION

If you attempt to use the "endDate" or "SetDefaults" parameters, you will receive the following error message:

   Named argument not found

Additional query words: 4.00

Keywords          : kbcode kbprg
Version           : 4.00
Platform          : WINDOWS

Last Reviewed: November 25, 1997