G
Grant Lawes
Hello,
The purpose of the following code is to find tasks that should be
complete, but are not, and to set their font color to red. The code
works perfectly except that some of the tasks do not end up with a red
color. When I use the debugger it finds the tasks correctly, selects
them all, but for some reason skips or misses some when setting the font
color to red. It is just the last line that is not doing what it is
supposed to.
FilterApply Name:="@ UR", value1:=entry, value2:=entry
If ActiveSelection > 0 Then
SelectTaskField Row:=0, Column:="Text18"
SetTaskField field:="text18", Value:="Red"
SelectColumn (4)
FillDown (True)
SelectSheet // Also tried SelectAll method which did not
work
Font Color:=pjRed
End If
Thanks
Grant
The purpose of the following code is to find tasks that should be
complete, but are not, and to set their font color to red. The code
works perfectly except that some of the tasks do not end up with a red
color. When I use the debugger it finds the tasks correctly, selects
them all, but for some reason skips or misses some when setting the font
color to red. It is just the last line that is not doing what it is
supposed to.
FilterApply Name:="@ UR", value1:=entry, value2:=entry
If ActiveSelection > 0 Then
SelectTaskField Row:=0, Column:="Text18"
SetTaskField field:="text18", Value:="Red"
SelectColumn (4)
FillDown (True)
SelectSheet // Also tried SelectAll method which did not
work
Font Color:=pjRed
End If
Thanks
Grant