PRJ: Too Many Events Recorded When Editing Tables (113133)



The information in this article applies to:

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

This article was previously published under Q113133

SYMPTOMS

In Microsoft Project, when you edit a table while the macro recorder is running, the macro records not only an event for the individual table column or columns that you edit, but it also records an event for each column that exists in the table. The event recorded is the TableEdit method.

WORKAROUND

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
To reduce the size of your macro, edit the macro and delete the unnecessary lines. For example, to add the Notes field to the Entry table, the only necessary macro command is the following:
   TableEdit Name:="&Entry", TaskTable:=True, NewFieldName:="Notes", _
      Title:="", Width:=10, Align:=2, LockFirstColumn:=True, _
      DateFormat:=255, RowHeight:=1
				
Note that the arguments in the above command depend on the options you select in the Table Definition dialog box.

REFERENCES

For more information about the TableEdit Method, choose the Search button in Help and type:

TableEdit


Modification Type:MajorLast Reviewed:6/23/2005
Keywords:kbprb kbusage KB113133