Microsoft KB Archive/173747

From BetaArchive Wiki
Knowledge Base

PRJ98: Notes Field Truncated when Using Notes Property in Macro

Article ID: 173747

Article Last Modified on 1/20/2007


  • Microsoft Project 98 Standard Edition

This article was previously published under Q173747


In Microsoft Project 98, when you run a Visual Basic macro that uses the Notes property, the notes text result is truncated. The following macro demonstrates this problem:

   Sub test()
      MsgBox ActiveProject.Tasks(1).Notes
   End Sub


This problem occurs because the notes property returns the first 255 characters entered into the Notes field for a task, a resource, or an assignment.


Microsoft has confirmed this to be a problem in the versions of Microsoft Project listed above.

This problem was corrected in Microsoft Project 98 for Windows, Service Release 1 (SR-1).

For additional information about obtaining and installing SR-1, click the article number below to view the article in the Microsoft Knowledge Base:

185102 PRJ98: How to Obtain and Install MS Project 98 SR-1


NOTE: Though this issue is corrected in Microsoft Project 98 SR-1, the message box (msgbox) function allows a maximum length of a prompt of approximately 1024 characters, depending on the width of the characters used.

Keywords: kbbug kbnofix kbusage KB173747