F
Francis
Hi,
I'm moving this question from microsoft.public.project to here as was
suggested, any additional help would be greatly appreciated..
Thanks,
Francis
*************************************************************************************
(e-mail address removed)
Jan 31, 3:10 pm show options
Newsgroups: microsoft.public.project
From: (e-mail address removed) - Find messages by this author
Date: 31 Jan 2006 13:10:53 -0800
Local: Tues, Jan 31 2006 3:10 pm
Subject: conditional formatting help..
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
Hi,
I've been wrestling with a problem for a couple of days now. Here's
what I'm trying to do. I would like to italicize and set the color of
the row to purple when a condition on that row is satisfied (verifying
against custom field's data). Most of the code I've come across
requires a for..next loop. I'm trying to avoid this as I don't want
the code to go through every task everytime I change the condition of a
column. I would simply want it to evaluate the new data right on the
spot and change the the formatting of the row. Is this even possible
with MS Project? My Project file consists of smaller Project files
inserted into it. I would get errors about 'method not available in
this situation' if i try to use selecttaskfield or selectrow and I'm
also trying to code this within the ProjectBeforeTaskChange event. Any
help would be greatly appreciated. Thanks.
Francis
Reply
Jan De Messemaeker
Feb 1, 2:55 am show options
Newsgroups: microsoft.public.project
From: "Jan De Messemaeker" <jandemes at prom hyphen ade dot be> - Find
messages by this author
Date: Wed, 1 Feb 2006 09:55:31 +0100
Local: Wed, Feb 1 2006 2:55 am
Subject: Re: conditional formatting help..
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse
Hi,
As a general remark, you better post this kind of questions in the
project.developer group
Still, have you thought of using the
activeselection.tasks(1)
way to identify your task?
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
+32-495-300 620
<[email protected]> schreef in bericht
- Hide quoted text -
- Show quoted text -
Reply
Francis
Feb 1, 10:54 am show options
Newsgroups: microsoft.public.project
From: "Francis" <[email protected]> - Find messages by this author
Date: 1 Feb 2006 08:54:53 -0800
Local: Wed, Feb 1 2006 10:54 am
Subject: Re: conditional formatting help..
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
Thanks, I'll move my question there.. I did think of that before, but I
couldn't figure out how to obtain the task ID properly. Since I have
inserted several project files into my main project file, the Task IDs
look like this now.
without expanding the summary lines...
1 Project 1
2
3 Project 2
4
5 Project 3
after expanding the summary lines..
1 Project 1
1 Subproject 1.1
2
3 Subproject 1.2
4
2
3 Project 2
1 Subproject 2.1
2
3 Subproject 2.2
4
4
5 Project 3
1 Subproject 3.1
2
3 Subproject 3.2
so I don't think the Task ID would be beneficial here..
*************************************************************************************
I'm moving this question from microsoft.public.project to here as was
suggested, any additional help would be greatly appreciated..
Thanks,
Francis
*************************************************************************************
(e-mail address removed)
Jan 31, 3:10 pm show options
Newsgroups: microsoft.public.project
From: (e-mail address removed) - Find messages by this author
Date: 31 Jan 2006 13:10:53 -0800
Local: Tues, Jan 31 2006 3:10 pm
Subject: conditional formatting help..
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
Hi,
I've been wrestling with a problem for a couple of days now. Here's
what I'm trying to do. I would like to italicize and set the color of
the row to purple when a condition on that row is satisfied (verifying
against custom field's data). Most of the code I've come across
requires a for..next loop. I'm trying to avoid this as I don't want
the code to go through every task everytime I change the condition of a
column. I would simply want it to evaluate the new data right on the
spot and change the the formatting of the row. Is this even possible
with MS Project? My Project file consists of smaller Project files
inserted into it. I would get errors about 'method not available in
this situation' if i try to use selecttaskfield or selectrow and I'm
also trying to code this within the ProjectBeforeTaskChange event. Any
help would be greatly appreciated. Thanks.
Francis
Reply
Jan De Messemaeker
Feb 1, 2:55 am show options
Newsgroups: microsoft.public.project
From: "Jan De Messemaeker" <jandemes at prom hyphen ade dot be> - Find
messages by this author
Date: Wed, 1 Feb 2006 09:55:31 +0100
Local: Wed, Feb 1 2006 2:55 am
Subject: Re: conditional formatting help..
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse
Hi,
As a general remark, you better post this kind of questions in the
project.developer group
Still, have you thought of using the
activeselection.tasks(1)
way to identify your task?
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
+32-495-300 620
<[email protected]> schreef in bericht
- Hide quoted text -
- Show quoted text -
I've been wrestling with a problem for a couple of days now. Here's
what I'm trying to do. I would like to italicize and set the color of
the row to purple when a condition on that row is satisfied (verifying
against custom field's data). Most of the code I've come across
requires a for..next loop. I'm trying to avoid this as I don't want
the code to go through every task everytime I change the condition of a
column. I would simply want it to evaluate the new data right on the
spot and change the the formatting of the row. Is this even possible
with MS Project? My Project file consists of smaller Project files
inserted into it. I would get errors about 'method not available in
this situation' if i try to use selecttaskfield or selectrow and I'm
also trying to code this within the ProjectBeforeTaskChange event. Any
help would be greatly appreciated. Thanks.
Francis
Reply
Francis
Feb 1, 10:54 am show options
Newsgroups: microsoft.public.project
From: "Francis" <[email protected]> - Find messages by this author
Date: 1 Feb 2006 08:54:53 -0800
Local: Wed, Feb 1 2006 10:54 am
Subject: Re: conditional formatting help..
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
Thanks, I'll move my question there.. I did think of that before, but I
couldn't figure out how to obtain the task ID properly. Since I have
inserted several project files into my main project file, the Task IDs
look like this now.
without expanding the summary lines...
1 Project 1
2
3 Project 2
4
5 Project 3
after expanding the summary lines..
1 Project 1
1 Subproject 1.1
2
3 Subproject 1.2
4
2
3 Project 2
1 Subproject 2.1
2
3 Subproject 2.2
4
4
5 Project 3
1 Subproject 3.1
2
3 Subproject 3.2
so I don't think the Task ID would be beneficial here..
*************************************************************************************