Solved

MS Project 2010 - how to color resources in different colors?

Posted on 2012-12-24
5
3,275 Views
Last Modified: 2013-04-23
MS Project 2010 - how to color resources in different colors?
0
Comment
Question by:longjumps
  • 2
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:terencino
terencino earned 333 total points
ID: 38722739
Hi longjumps are you looking to color task bars with resources assigned to them? The concept can be adapted to suit resources.

Conditionally formatting bar styles in Project 2010

...Terry
0
 
LVL 1

Author Comment

by:longjumps
ID: 38722833
In the "Resource Form Tools" table, I don't see "Appearance" like in the example with Task Bar.
Using such "Appearance" they color bars.

But how could I color Resources?
Attached.
MPP-question-color-resource.png
0
 
LVL 16

Assisted Solution

by:terencino
terencino earned 333 total points
ID: 38723341
Sorry it doesn't have that functionality built in for resources unfortunately, which is a shame. You need to work through that complex Flag workaround I sent you before, or use the VBA routine to color them.
0
 
LVL 17

Accepted Solution

by:
xtermie earned 167 total points
ID: 38735906
Steps:

1.  Make sure each of your resources have distinct names or initials.  We use full names at our organization.  Important to note that you can only colour code up to 20 resources.  If you're looking for more you're out of luck.  It would be hard anyways as eventually many colours start to look the same on your monitor.
2.Right click on any column.
3. Select Custom Fields
4. Type: Select Flags (it has to be flags)  Please note important to keep it on Tasks and not Resources as you're changing the appearance of a task on the gantt chart.
5. Rename each flag to the Resource name exactly as you have it on your resource list.
6.  Under custom attributes select formula
7.  Create formula in the box as "the name of the resource as entered" = {Resource Name}  Note: I used the insert field -> text -> resource name rather than typing in as it didn't work when typing in for me.
8. select okay
9.  Under Format choose Format -> Bar Styles
10. Scroll down to the bottom to enter information rather than selecting insert row at the top.  For me if I did it at the top it didn't work and all bars would change colour.  Make sure to scroll down.
11.  Name Field enter the resource name as entered in the system
12.  Appearance Field choose the colour you want.  Do not hit okay make sure you do the next step or you'll also have an error.
13.  Show For Tasks:  Enter the Flag# that you changed names.

Please note, the flag number and resource name must be the same as what you did steps 1 through 6.

Note that if you have n a US English installation some of the field delimiters may be different.  The formula in step 7 should not have braces around "Resource Name" and the field name is Resource Names, not Resource Name. The formula should be:
 
"Name of Resource" = [Resource Name]

Also, note that this formula only works if the resource is the only one assigned.
 You might find the following formula works a bit better:

IIf(Instr([Resource Names],"Name of Resource")>0,"Yes")

This formula will search the [Resource Names] field and if the "Name of the Resource" appears anywhere in the string, it will return the position of the string.  If the resource's name is in the list, the value should be greater than zero.


Hope this helps!
0
 
LVL 1

Author Comment

by:longjumps
ID: 38771289
I am checking the solution.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show you how to use shortcut menus in the Access run-time environment.
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now