Microsoft KB Archive/143069

{|
 * width="100%"|

PRJ: Incorrect TimescaledData Syntax in Visual Basic Reference

 * }

Q143069

-

The information in this article applies to:


 * Microsoft Project for Windows, version 4.0

-

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:

Keywords : kbcode kbprogramming kbofficeprog

Issue type :

Technology : kbProjectSearch kbProject400