You'll need to run some VBA to capture the name of the predecessor task.
Whenever you have changed the predecessors you'll need to rerun the code.
Option Explicit
Sub pdqbach()
Dim tsk As Task
Dim iPredLoop As Integer
Dim strPreds As String
For Each tsk In ActiveProject.Tasks
If tsk.PredecessorTasks.Count > 0 Then
strPreds = ""
For iPredLoop = 1 To tsk.PredecessorTasks.Count
strPreds = strPreds & tsk.PredecessorTasks(iPredLoop).Name
If iPredLoop <> tsk.PredecessorTasks.Count Then
strPreds = strPreds & ", "
End If
Next
tsk.Text1 = strPreds
End If
Next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.