Colour of font of resource initials on task bar

C

Clive Long,UK

Hello,

1. Is it possible to manually set the Gannt Chart Bar Text font
colour for particular resource initials? For example, if a resource is
unknown (unnnamed) but the TYPE is known, say, CDeveloper, then if I
set Resource Initials to "?CDev", can I change the Bar Text Font
COlour to RED to highlight the particular resource is not yet
identified?

2. Can I automate 1. above? So that if the resource initial contains
a question mark, Say "?CDev" or "?NetEng" then this is displayed on
the Gannt chart using RED font. Once I know my specific resource then
I change to the actual initials, say "CRL" and either automatically,
or by running a macro, the BAr Text turns to Black from Red?

Thanks

Clive
 
J

John Beamish

The short answer: no. The long answer: "sort of".

To begin, let's explore changing text attributes:

1. Columnar text (to the left of the separator bar):
Using (in P2003, possibly others) Format | Text styles, it is possible to
manually select a pre-defined category and change the font attributes. But
it is not possible to manually change the attributes conditionally depending
on the contents of a specific field.

2. Bar Chart text (to the right)
First, click on Format | Bar styles, then select the type of tasks you want
to modify and then click on the Text tab to define which text you will
display and where you will place the text in relation to the bar (left,
right, top, bottom, inside). Second, click on Format | Text styles and
choose the same bar text (left right top bottom inside) and set the
attributes.

As you can see, the text colour is fixed to the selections you have made in
step 1 above.


Now, let's explore changing bar colours. Bar colours are a horse of a
(excuse me) different colour.

A. Click on Format | Bar Styles. You'll see a variety of different bar
names ("Task", "Split", etc.) Click on the Insert Row and create a new one:
"Task2". This MUST follow "Task". In the "Show for ... tasks" column
select "Flag1". For appearance, choose a bar colour of red (using the
selection fields below) and click on OK.

What we have done: when Project paints the Gantt bars it will paint normal
bars as it usually does but any tasks which have flag1 set to Yes will be
painted the colour you just chose.

B. Now, on the left side of the Gantt display, insert the Text1 column,
rightmousebutton on the header for the column, and click on Customize
fields. In the popup window, click on the formula button and enter this
text:

[Resource Initials]=""

Click on OK.

What we have done: when project looks at the Resource Initials for that
task, it will check to see if they are blank. If true, then it will set
Flag1 to true.

C. Remember that we previously changed the colour of a bar so that if Flag1
was true then the colour would be red. (See step A). Okay, we can't see the
initials in red or with a Question mark. But we can quickly see which tasks
don't have resources. When you do assign resources, the Resource Initials
field will no longer be empty so flag1 will be set to NO and, bingo, the bar
colour will change from red to blue. It isn't quite what you asked for, but
it does work "automagically".

JLB, PMP
 
M

Mike Glen

Hi Clive,

Welcome to the Microsoft Project newsgroup :)

Please see FAQ Item: 31. Customizing Task Bars - Project 2000

FAQs, companion products and other useful Project information can be seen at
this web address: http://www.mvps.org/project/

Hope this helps - please let us know how you get on:)

Mike Glen
Project MVP

John Beamish said:
The short answer: no. The long answer: "sort of".

To begin, let's explore changing text attributes:

1. Columnar text (to the left of the separator bar):
Using (in P2003, possibly others) Format | Text styles, it is possible to
manually select a pre-defined category and change the font attributes. But
it is not possible to manually change the attributes conditionally depending
on the contents of a specific field.

2. Bar Chart text (to the right)
First, click on Format | Bar styles, then select the type of tasks you want
to modify and then click on the Text tab to define which text you will
display and where you will place the text in relation to the bar (left,
right, top, bottom, inside). Second, click on Format | Text styles and
choose the same bar text (left right top bottom inside) and set the
attributes.

As you can see, the text colour is fixed to the selections you have made in
step 1 above.


Now, let's explore changing bar colours. Bar colours are a horse of a
(excuse me) different colour.

A. Click on Format | Bar Styles. You'll see a variety of different bar
names ("Task", "Split", etc.) Click on the Insert Row and create a new one:
"Task2". This MUST follow "Task". In the "Show for ... tasks" column
select "Flag1". For appearance, choose a bar colour of red (using the
selection fields below) and click on OK.

What we have done: when Project paints the Gantt bars it will paint normal
bars as it usually does but any tasks which have flag1 set to Yes will be
painted the colour you just chose.

B. Now, on the left side of the Gantt display, insert the Text1 column,
rightmousebutton on the header for the column, and click on Customize
fields. In the popup window, click on the formula button and enter this
text:

[Resource Initials]=""

Click on OK.

What we have done: when project looks at the Resource Initials for that
task, it will check to see if they are blank. If true, then it will set
Flag1 to true.

C. Remember that we previously changed the colour of a bar so that if Flag1
was true then the colour would be red. (See step A). Okay, we can't see the
initials in red or with a Question mark. But we can quickly see which tasks
don't have resources. When you do assign resources, the Resource Initials
field will no longer be empty so flag1 will be set to NO and, bingo, the bar
colour will change from red to blue. It isn't quite what you asked for, but
it does work "automagically".

JLB, PMP




Clive Long said:
Hello,

1. Is it possible to manually set the Gannt Chart Bar Text font
colour for particular resource initials? For example, if a resource is
unknown (unnnamed) but the TYPE is known, say, CDeveloper, then if I
set Resource Initials to "?CDev", can I change the Bar Text Font
COlour to RED to highlight the particular resource is not yet
identified?

2. Can I automate 1. above? So that if the resource initial contains
a question mark, Say "?CDev" or "?NetEng" then this is displayed on
the Gannt chart using RED font. Once I know my specific resource then
I change to the actual initials, say "CRL" and either automatically,
or by running a macro, the BAr Text turns to Black from Red?

Thanks

Clive
 
J

John Beamish

Mike: since you're replying to my message, I have a friend named Clive, but
I'm John <g>.

We should have both pointed out that it is not possible to make PWA behave
in a similar fashion.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top