T
theintern
i'm trying to get it to start a task as soon as the resource finishes it's
current task. levelling would do this for me, except that half the time that
wipes out the actual start data. below is the code, which may make things
more clear. but something's not working. not really sure what, but it's
wiping out all actual start data to NA. any ideas would be much appreciated.
thanks
scott
Dim t1 As Task
Dim t2 As Task
Dim ts As Tasks
Dim n As Integer
Set ts = ActiveProject.Tasks
n = 0
For Each t1 In ActiveProject.Tasks
Set t2 = ts(n + 1)
If t1.ResourceInitials = t2.ResourceInitials Then t2.ActualStart =
t1.ActualFinish
n = n + 1
Next t1
current task. levelling would do this for me, except that half the time that
wipes out the actual start data. below is the code, which may make things
more clear. but something's not working. not really sure what, but it's
wiping out all actual start data to NA. any ideas would be much appreciated.
thanks
scott
Dim t1 As Task
Dim t2 As Task
Dim ts As Tasks
Dim n As Integer
Set ts = ActiveProject.Tasks
n = 0
For Each t1 In ActiveProject.Tasks
Set t2 = ts(n + 1)
If t1.ResourceInitials = t2.ResourceInitials Then t2.ActualStart =
t1.ActualFinish
n = n + 1
Next t1