How to print all predecessors to a given task?

P

Pierre

I would like to print all predecessors to a given task (and only them). How
can this be done?
 
A

Abhijit

I would like to print all predecessors to a given task (and only them). How
can this be done?

Hello Pierre,

First create a filter (Project->Filtered->morefilters->new) by
choosing "predecessors" as the filed name, "does not equal" as the
test and "blank or spaces" ie "no value" as the value, give a name to
this filter (say onlyPred). Next go to reports and select a custom
report and in the filter give the name of the filter you have created
(onlyPred). Now execute the report and you will get the tasks which
have only predecessors in them.

AB
 
J

John

Abhijit said:
Hello Pierre,

First create a filter (Project->Filtered->morefilters->new) by
choosing "predecessors" as the filed name, "does not equal" as the
test and "blank or spaces" ie "no value" as the value, give a name to
this filter (say onlyPred). Next go to reports and select a custom
report and in the filter give the name of the filter you have created
(onlyPred). Now execute the report and you will get the tasks which
have only predecessors in them.

AB

AB,
I'm sorry, but I don't think that will do what the poster wants. Pierre
only wants the predecessors for a given task.

This is best done using VBA to uniquely identify the predecessor IDs of
the desired task and then filtering on those tasks, but it could also be
done manually. For the VBA approach, go to fellow MVP, Jack Dahlgren's
website at, http://masamiki.com/project/macros.htm, and take a look at
his Trace macro.

Hope this helps.
John
Project MVP
 
P

Pierre

Thank you for your promt response. In fact, my question was not exactly what
you meant with your answer. For a given task, which could be at any stage of
a project, I want to be able to print its predecessors (or "ancestors"), and
only them.
 

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