W
Wendy
I am not a developer so I need help understanding where to put this code. We
need for the % complete to show with decimals and I found this code in this
forum but I don't know where to put it. Does it go in a macro and if so
under what event?
Or does it go in the formula for a custom enterprise text field under the
formula button? I tried putting it in the custom field but I got errors
saying syntax, unrecognized formula or function name. Please help. Here is
exactly what I inserted: Thanks
Private Sub Project_Change(ByVal pj As Project)
Dim t As Task
For Each t In ActiveProject.Tasks
If Not (t Is Nothing) Then
t.Text1 = Format((t.ActualDuration / t.Duration), "0.0000%")
End If
Next t
End Sub
need for the % complete to show with decimals and I found this code in this
forum but I don't know where to put it. Does it go in a macro and if so
under what event?
Or does it go in the formula for a custom enterprise text field under the
formula button? I tried putting it in the custom field but I got errors
saying syntax, unrecognized formula or function name. Please help. Here is
exactly what I inserted: Thanks
Private Sub Project_Change(ByVal pj As Project)
Dim t As Task
For Each t In ActiveProject.Tasks
If Not (t Is Nothing) Then
t.Text1 = Format((t.ActualDuration / t.Duration), "0.0000%")
End If
Next t
End Sub