linking one task to many previous tasks

J

Jackie

Hello

I would like to know if there is a fast way for linking one task to previous
task, instead of typing in the predecessor columns the id number of the
previous tasks in question

Many thanks
J
 
J

Jim Aksel

Two things may help:

1. Autolinking will automatically link. Tools/Options/Schedule (tab) check
"Autolink Inserted or moved tasks"

2. The link tasks icon on the toobar. Select the predecessor, then hold the
control key and select the successor. Click the link tasks icon.

Unfortunately, Project is not smart enough to know that you want to make
multiple predecessors for a task: making 18, 23, 39 all predecessors to 50
cannot be done in "one move"

You can copy and paste from one set of predecessors to another task and then
edit which might save you some time.

--
If this post was helpful, please consider rating it.

Jim

Visit http://project.mvps.org/ for FAQs and more information
about Microsoft Project
 
J

Jim Aksel

I LIKE IT!!! We need more "out of the box" solutions like this.

--
If this post was helpful, please consider rating it.

Jim

Visit http://project.mvps.org/ for FAQs and more information
about Microsoft Project
 
S

SpaceCamel

I had the same need so made this macro:

Sub LinkGrp2End()
'**********************************8
'* This macro will connect selected tasks with Finish-to-Start ties to the
last task
'*
'**********************************

Dim tt As Task
Dim tt1 As Task
Dim tt2 As Task
Dim myProj As Project

Set myProj = ActiveProject
Set myTasks = ActiveSelection.Tasks
fName = ActiveProject.name
SelCnt = myTasks.Count
If myTasks.Count < 2 Then
MsgBox "You must have at least two tasks selected for this macro to
work"
Exit Sub
End If

Dim TaskIDs(150)
For Each tt In myTasks
tcnt = tcnt + 1
TaskIDs(tcnt) = tt.ID
Next

Set tt2 = myProj.Tasks(TaskIDs(tcnt))
For t = 1 To tcnt - 1

Set tt1 = myProj.Tasks(TaskIDs(t))
tt2.TaskDependencies.Add tt1, pjFinishToStart ', dlagday 'add
predecessor to task2
Next

Beep
End Sub
 
J

Jan De Messemaeker

My personal preference, especially if the "many tasks" are sucessive is to
insert the successor column, type the ID of the common successor in the
first and drag it down to the last.
HTH
 

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