Link to earliest Successor in MS Project

M

MG

If task A starts at date A and is linked FS to task B which starts on date B;
And task X ends on date X and is linked originaly FS to task B.

What macro or other trick can:
in case of task X is 100% complete and date X is less than date A => destroy
FS link between task X and task B and create FS link between task X and task

Tx
 
J

Jack Dahlgren

I have a macro which does something similar (sets the successor to start
after the earliest complete predecessor) on my website here:

http://masamiki.com/project/macros.htm

Look for the "Follow earliest predecessor" macro. It shouldn't be hard to
modify to meet your conditions. Look at the code and go from there.

-Jack Dahlgren
 
M

MG

Hi Jack
I am not able to make your macro perform its expected job

it is not producing error but not producing change either!

Maybe I missed a field to fill?

I have no constaint or actual dates
 
S

Steve House

I'm concerned about the logic of your situation and whether links should be
used at all. A FS link between two tasks says that the predecessor task is
doing something that has to occur in order for the successor task - there's
a physical reason that makes it impossible for the successor to start until
after the predecessor has ended. If it _is_ possible for the successor to
behave as you have suggested, starting when the earlier of A or X finishes
have taken place, then either or both of the links from A to B and from X to
B are invalid to begin with.
 
M

MG

Hello Steve,
Thanks for your answer.
Indeed I understand your point of view concerning the physical successor.
But the real context here is that task A and tasK B are the same repetitive
time bounded cyclic task.
And represents the final step of the process.
So whenever task X ends it needs to start this final step.
I still understand your point of view but I need to illustrate the real end
date of the process of task X knowing that I have numerion Task X that ends
at different times and need to end with the task A or B or n depending on the
corresponding date.
Tx
MG
--
MG


Steve House said:
I'm concerned about the logic of your situation and whether links should be
used at all. A FS link between two tasks says that the predecessor task is
doing something that has to occur in order for the successor task - there's
a physical reason that makes it impossible for the successor to start until
after the predecessor has ended. If it _is_ possible for the successor to
behave as you have suggested, starting when the earlier of A or X finishes
have taken place, then either or both of the links from A to B and from X to
B are invalid to begin with.
--
Steve House [Project MVP]
MS Project Trainer & Consultant
Visit http://project.mvps.org/faqs.htm for the FAQs

MG said:
If task A starts at date A and is linked FS to task B which starts on date
B;
And task X ends on date X and is linked originaly FS to task B.

What macro or other trick can:
in case of task X is 100% complete and date X is less than date A =>
destroy
FS link between task X and task B and create FS link between task X and
task

Tx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top