E
Ed
Hello I had made a previous post called: Format by Hierarchy, in which I got
a Macro to give a color to the row depending on it's hierarchy. The macro
used is:
Sub Name()
Dim Ctr As Integer
Dim Kleur(3) As Integer
Dim Job As Task
Kleur(1) = pjRed
Kleur(2) = pjNavy
Kleur(3) = pjBlack
FilterApply "All Tasks"
OutlineShowAllTasks
For Ctr = 1 To ActiveProject.Tasks.Count
SelectRow Row:=Ctr, rowrelative:=False
If Not ActiveSelection Is Nothing Then
Font Color:=Kleur(ActiveProject.Tasks(Ctr).OutlineLevel)
End If
Next Ctr
End Sub
I would like to know what should I add to the macro to have Red and Navy in
bold and Black in normal font?
thanks
a Macro to give a color to the row depending on it's hierarchy. The macro
used is:
Sub Name()
Dim Ctr As Integer
Dim Kleur(3) As Integer
Dim Job As Task
Kleur(1) = pjRed
Kleur(2) = pjNavy
Kleur(3) = pjBlack
FilterApply "All Tasks"
OutlineShowAllTasks
For Ctr = 1 To ActiveProject.Tasks.Count
SelectRow Row:=Ctr, rowrelative:=False
If Not ActiveSelection Is Nothing Then
Font Color:=Kleur(ActiveProject.Tasks(Ctr).OutlineLevel)
End If
Next Ctr
End Sub
I would like to know what should I add to the macro to have Red and Navy in
bold and Black in normal font?
thanks