P
Peter Rooney
Jack gave me a useful tip in my quest to filter my plan according to which of
four teams in my department are responsible for carrying out each task.
I have added a new text field into my plan, and now need to input the name
of the appropriate team into each cell for each task and its sub tasks.
I expand the task to level 9, then select all the appropriate tasks.
If I run the code below, the value is input into the first cell in the
selection, but not all the others. What am I doing wrong?
Sub SoftwareMgtTeam()
For Each InputField In ActiveSelection.Tasks
SetInputField Field:="Text5", Value:="SoftwareMgt"
Next
End Sub
Thanks in advance
Pete
four teams in my department are responsible for carrying out each task.
I have added a new text field into my plan, and now need to input the name
of the appropriate team into each cell for each task and its sub tasks.
I expand the task to level 9, then select all the appropriate tasks.
If I run the code below, the value is input into the first cell in the
selection, but not all the others. What am I doing wrong?
Sub SoftwareMgtTeam()
For Each InputField In ActiveSelection.Tasks
SetInputField Field:="Text5", Value:="SoftwareMgt"
Next
End Sub
Thanks in advance
Pete