C
CB
I originally posted this in the general questions area. Jan De Messemaeker
responded stating that this was some oddity of Proj 2007. Jan also posted
some code which I could not get to work either.
I use the custome text fields for information that I need to share with the
task and the assignment fields. Please someone help me.
Original post:
I am using MSOP 2007. I am trying to get the gantt view text 2 field copied
to the resource text 2 field. Any ideas on what is wrong here. I have used
this in MSP 2002 without any problems.
Sub PortfromGantttoResource()
Dim t As Task
Dim ts As Tasks
Dim A As Assignment
Set ts = ActiveProject.Tasks
For Each t In ts
If Not t Is Nothing Then
For Each A In t.Assignments
A.Text2 = t.Text2
Next A
End If
Next t
End Sub
I am trying to get the gantt view text 2 field copied to the resource text
2 field. Any ideas on what is wrong here. I have used this in MSP 2002
without any problems.
responded stating that this was some oddity of Proj 2007. Jan also posted
some code which I could not get to work either.
I use the custome text fields for information that I need to share with the
task and the assignment fields. Please someone help me.
Original post:
I am using MSOP 2007. I am trying to get the gantt view text 2 field copied
to the resource text 2 field. Any ideas on what is wrong here. I have used
this in MSP 2002 without any problems.
Sub PortfromGantttoResource()
Dim t As Task
Dim ts As Tasks
Dim A As Assignment
Set ts = ActiveProject.Tasks
For Each t In ts
If Not t Is Nothing Then
For Each A In t.Assignments
A.Text2 = t.Text2
Next A
End If
Next t
End Sub
I am trying to get the gantt view text 2 field copied to the resource text
2 field. Any ideas on what is wrong here. I have used this in MSP 2002
without any problems.