M
MarkC
Hi I am new to MSP VBA. I'm used to MS Excel version. I've had a look at a
few examples but can't see anything that's similar to mine.
What I am trying to do is go down my task list and change the text colours
depending on the project's status, say Flag1. I am trying to do more than but
for this example I will simplify things.
I've managed to create the folowing code but this does everything.
Dim T As Task
Dim Ts As Tasks
Set Ts = ActiveProject.Tasks
'SelectRow Row:=1
SelectRange Row:=1, Column:=2, RowRelative:=False
For Each T In Ts
SelectRow Row:=Row + 1
Font Color:=2
Next T
When I introduce the filter, say If Flag1="1", Flag1="2", etc, this does
nothing.
Can someone help. I am using MSP 2003 Standard.
few examples but can't see anything that's similar to mine.
What I am trying to do is go down my task list and change the text colours
depending on the project's status, say Flag1. I am trying to do more than but
for this example I will simplify things.
I've managed to create the folowing code but this does everything.
Dim T As Task
Dim Ts As Tasks
Set Ts = ActiveProject.Tasks
'SelectRow Row:=1
SelectRange Row:=1, Column:=2, RowRelative:=False
For Each T In Ts
SelectRow Row:=Row + 1
Font Color:=2
Next T
When I introduce the filter, say If Flag1="1", Flag1="2", etc, this does
nothing.
Can someone help. I am using MSP 2003 Standard.