Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1 day lag

Status
Not open for further replies.

itsnotmark

Technical User
Nov 12, 2005
1
GB
Hello
I have set up a project where a series of tasks are scheduled start to start. However each task needs a 1 day lag from it's predecessor. ie if the first task starts on a monday , the following linked task needs to starts on the tuesday and so on.
My question is: is there a way of setting up 1 day lag for linked tasks beyond entering the information in each task individually. There may be a list of up to 100 tasks that need to be joined in this way. When the whole list is selected you cannot enter this in the task information dialogue box...
Thanks for any help
 
Each link must be individually defined.

For 100 tasks you could always write some vba.

Sub SSplus1()
Dim tt As Task
Dim iCntr1 As Integer
For Each tt In ActiveProject.Tasks
iCntr1 = iCntr1 + 1
If iCntr1 < activeproject.tasks.count Then
ActiveProject.Tasks(iCntr1).Successors = Str(iCntr1 + 1) & "SS+1 day"
End If
Next
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top