J
JJ
I have a Project file that some created where they planned everything
exclusively in weeks. I wanted to convert all the durations to days.
Two questions:
Question 1)
Here's the code that I wrote to do this but it's really slow. I can't
determine if it's my computer or if the code is processor-intensive.
Dim t As Task
For Each t In ActiveProject.Tasks
If Not t Is Nothing Then
If t.Summary = False Then
t.Duration = DurationFormat(t.Duration, Units:=pjDays)
End If
End If
Next
Question 2)
How do I get the durations on the Summary Tasks to display in days? I
tried the DurationFormat method above on Summary Tasks but it would
not allow it.
Thanks!
JJ
exclusively in weeks. I wanted to convert all the durations to days.
Two questions:
Question 1)
Here's the code that I wrote to do this but it's really slow. I can't
determine if it's my computer or if the code is processor-intensive.
Dim t As Task
For Each t In ActiveProject.Tasks
If Not t Is Nothing Then
If t.Summary = False Then
t.Duration = DurationFormat(t.Duration, Units:=pjDays)
End If
End If
Next
Question 2)
How do I get the durations on the Summary Tasks to display in days? I
tried the DurationFormat method above on Summary Tasks but it would
not allow it.
Thanks!
JJ