PRJ41: Can't Change "Total Editing Time" Value
  
PSS ID Number: Q136643
Article last modified on 09-26-1995
 
4.10
 
WINDOWS
 

--------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Project for Windows 95, version 4.1
--------------------------------------------------------------------
 
SYMPTOMS
========
 
In Microsoft Project, if you use the BuiltinDocumentProperties property in
a macro to change the Total Editing Time value for the project, the Total
Editing Time value does not change.
 
For example, if you run the following macro in Microsoft Project, the value
displayed in the Total Editing Time field (in the Properties dialog box) is
the actual amount of time the project has been open for editing, instead
of, for example, 10:
 
   Sub Macro1()
      With ActiveProject.BuiltinDocumentProperties
         .item("Total Editing Time").value = 10
      End With
   End Sub
 
CAUSE
=====
 
The Total Editing Time value is not a read-write value. This value is
displayed on the Statistics tab in the Properties dialog box when you click
Properties on the File menu in your project. You cannot change the value of
this property, either by editing the value directly in the Properties
dialog box, or by running a macro to change the value.
 
MORE INFORMATION
================
 
You can change the value of some document properties directly in the
Properties dialog box, such as the Subject (on the Summary tab).
Additionally, you can change the value of most of the document properties
by using a macro, even if you can't change the value directly in the
Properties dialog box. For example, you can change the value of the Last
Author property (Last Saved By field in Properties dialog box) by using a
macro.
 
However, you cannot change the value of the Total Editing Time property.
The value displayed in this field in the Properties dialog box, or returned
by this property (in a macro) is always the actual total amount of time
that the file has been open for editing.
 
KBCategory: kbprg kbcode
KBSubcategory: projwin
 
Additional reference words: 4.10
=============================================================================
Copyright Microsoft Corporation 1995.
