G
Guest
Hello,
I am working on a VBA macro to be used with Microsoft Office Project
Professional 2003.
The macro is doing some automated task relinking based in part on the
information stored in the task predecessor field. For the most part everything
is working as it is supposed to.
I have to my dismay discovered that if there is a large enough number of
predecessors, Microsoft Project simply store the first 252 characters of the
list followed by three periods ”…” in the predecessor field.
To deal with this I am trying to find the information I need in the
TaskDependency collection. Dependencies on tasks that are part of the local
project are easy. The dependencies I need help figuring out are the
dependencies on tasks in other projects.
If for example am trying to construct a predecessor that would look l
For example if a truncated predecessor should look like:
C:\Bobs Test Project.MPP\4
If I find the dependency in my TaskDependency collection, it will point to a
task in my local project that Microsoft Project uses as a link to the external
project (they appear grayed out in the task list). I can find the name of the
external project (C:\Bobs Test Project.MPP) easily enough. What I can not seem
to find is the task id of the task in the external project (the number 4 at the
end of my example).
Can anyone PLEASE tell me where I can find the task ID for a task in an
external project?
It has to be in the local project somewhere!
Bob
I am working on a VBA macro to be used with Microsoft Office Project
Professional 2003.
The macro is doing some automated task relinking based in part on the
information stored in the task predecessor field. For the most part everything
is working as it is supposed to.
I have to my dismay discovered that if there is a large enough number of
predecessors, Microsoft Project simply store the first 252 characters of the
list followed by three periods ”…” in the predecessor field.
To deal with this I am trying to find the information I need in the
TaskDependency collection. Dependencies on tasks that are part of the local
project are easy. The dependencies I need help figuring out are the
dependencies on tasks in other projects.
If for example am trying to construct a predecessor that would look l
For example if a truncated predecessor should look like:
C:\Bobs Test Project.MPP\4
If I find the dependency in my TaskDependency collection, it will point to a
task in my local project that Microsoft Project uses as a link to the external
project (they appear grayed out in the task list). I can find the name of the
external project (C:\Bobs Test Project.MPP) easily enough. What I can not seem
to find is the task id of the task in the external project (the number 4 at the
end of my example).
Can anyone PLEASE tell me where I can find the task ID for a task in an
external project?
It has to be in the local project somewhere!
Bob