Hey I'm having some issues with the following code. The code below seems to work just fine in Project 2007 and Project 2010 as lon
Hello all, first Happy Holidays to whoever might be on. I have a question regarding the code below.
Dim TaskDep As TaskDependency For Each TaskDep In ActiveSelection.Tasks(1).TaskDependencies Tname = TaskDep.From.Name TUID = TaskDep.From.UniqueID MsgBox "Name: " & Tname & " UID: " & TUID NextI am trying to find the characteristics of the predecessors of a selected task (in this instance, "Name" and "Unique ID"). Seems to work just fine if the taskdependency is in a single project file in Project 2010. However it seems to produce errant results if the taskdependency comes from a subproject. Is there a line of code of missing that will make this work across subprojects? Can anyone reproduce this error?