MarkLNash said:
Thanks Gérard - works perfectly on a test file.
The problem is (there's always a problem isn't there), the file is set up
as
fixed duration throughout, which sets the duration as the difference
between
start and finish regardless of split or not.
Any other ideas? Anyone?
What I will do is set the type to fixed work, find the splits, set back
to
fixed duration and correct the split tasks - but I am a bit worried about
finding unexpected changes going on. Or just print out the list of
filtered
tasks and start again and cean up the original file.
Thanks again
MarkLNash,
Unfortunately the split task property is not a field directly available
in a Project view. However, it is available via VBA. The following
simple VBA macro will do what you need (this assumes of course that you
don't use spare task Flag1 for anything else).
Sub Split_Finder()
For Each t In ActiveProject.Tasks
If Not t Is Nothing Then
t.Flag1 = False
If t.SplitParts.Count > 1 Then t.Flag1 = True
End If
Next t
FilterEdit Name:="SpltTsk", TaskFilter:=True, Create:=True, _
overwriteexisting:=True, FieldName:="flag1", Test:="equals", _
Value:="yes", ShowInMenu:=False, showsummarytasks:=False
FilterApply Name:="SpltTsk"
End Sub
Hope this helps.
John
Project MVP
:
Hello Mark,
The following formula works well for me (if you don't use "fixed
duration"
as task type) :
IIf(ProjDateDiff([Start];[Finish])<>[Duration];1;0)
Introduce this formula in a number(x) field. Then create a filter to
select
all the values = 1
May be some other people in this NG have a better idea?
Hope this helps,
Gérard Ducouret
"MarkLNash" <
[email protected]> a écrit dans le
message de
I have a large file which has been hacked by lots of different
people. As
a
result it is riddled with split tasks, which I am trying to sort out.
Is there an easy way to filter split tasks only?
There doesn't seem to be a field called "Split" and I can't find any
other
useful field. I notice that the bar styles box allows styles to be
filtered
for split tasks - so it can be done!
Any help would be appreciated.