Is there a way to color code subtasks in Project?

C

cwabbit99

I'm attempting to track multiple subprojects in one master project. The only
connection is that the projects are for the same client. I'd like to track
each in a different color so they can all be on the same calendar. Does
anyone know how to do this?
 
J

John

cwabbit99 said:
I'm attempting to track multiple subprojects in one master project. The only
connection is that the projects are for the same client. I'd like to track
each in a different color so they can all be on the same calendar. Does
anyone know how to do this?

cwabbit99,
I'm lost with your statement about color and calendar. The only part
that does make some sense is client and color.

Something that you should be aware of is that in a master file the
visual presentation is unique to the master. In other words, if you set
all tasks in subproject "A" to have a blue font, that subproject will
NOT show up in a blue font when viewed in a master file. Although this
is true for text data, formulas are a different story (see below).

If you want to color code the subproject by client there are a couple of
ways to do it. One fairly easy way is to designate a spare field in each
subproject as a custom field and use graphical indicators to set a color
based on client. Note these custom indicators must be set in the
individual subproject files. When viewed in the master this custom field
will be color coded to indicate the client. Granted this approach will
not change the font color but it will give a visual color indication at
the master level.

In order to do exactly what you want, (i.e. use font colors to indicate
which subprojects belong to which client), you will need to use VBA, or
manually set the font color in the master. In VBA pseudo code, a spare
field (e.g. Text1) would be used to indicate the client by name, number
or whatever. A VBA macro in the master would then "read" this spare
field and change the task font colors accordingly. It's not all that
difficult but I'm not sure it is really worth the effort.

John
Project MVP
 
M

Mike Glen

Hi cwabbit99,

Welcome to this Microsoft Project newsgroup :)

You might like to see FAQ Item: 31. Customizing Task Bars.

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

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

Mike Glen
Project MVP
 
M

MSPLearner

"A VBA macro in the master would then "read" this spare
field and change the task font colors accordingly. It's not all that
difficult but I'm not sure it is really worth the effort." - not being a programming type, I could use this sample code.
Thanks in advance.

MSPLearner
 
J

John

MSPLearner said:
"A VBA macro in the master would then "read" this spare
Thanks in advance.

MSPLearner

MSPLearner,
Are you cwabbit99? If not, what sample code are you referring to?

John
 

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