VB

J

jstp

I'm trying write code that will change the font color of a task based on the
percent complete. Can anyone shed light on this?

Thank you.
 
J

Jan De Messemaeker

Hi,

As you do not indicate ny other problem I shall just answer this one.
You have to select the task first
See the Object Browser, methods with "Select"
then use activeselection.tasks(1).percentcomplete in your comparisons
The application.font method allows you to pick the format
HTH
 
J

jstp

Thank you so much! You gave me just enough info.

Jan De Messemaeker said:
Hi,

As you do not indicate ny other problem I shall just answer this one.
You have to select the task first
See the Object Browser, methods with "Select"
then use activeselection.tasks(1).percentcomplete in your comparisons
The application.font method allows you to pick the format
HTH


--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
+32-495-300 620
 

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