CustomFieldIndicatorAdd does not work?!

H

Hollomey

Hi,

I 'd like to see a dimond in the indicator field whenever the value in Cost1
is greater than 0.

I wrote a macro with only one line of code:

sub SwichtDiamondOn()
Application.CustomFieldIndicatorAdd pjCustomTaskCost1,
pjCompareGreaterThan, "0", pjIndicatorDiamondRed
end sub


But this does not work!

Is there anyone who knows help?

Thank you
Florian
 
J

Jack D.

Hollomey said:
Hi,

I 'd like to see a dimond in the indicator field whenever the value in
Cost1 is greater than 0.

I wrote a macro with only one line of code:

sub SwichtDiamondOn()
Application.CustomFieldIndicatorAdd pjCustomTaskCost1,
pjCompareGreaterThan, "0", pjIndicatorDiamondRed
end sub


But this does not work!

Is there anyone who knows help?

Thank you
Florian

There are so many ways that this is wrong.
Start in the gannt view.
Insert the Cost1 field (as a column)
Right click on the header and select customize fields
In the dialog box set the indicator that you want with the criteria you
want.
No need to write any visual basic code.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
H

Hollomey

There are so many ways that this is wrong.
Start in the gannt view.
Insert the Cost1 field (as a column)
Right click on the header and select customize fields
In the dialog box set the indicator that you want with the criteria you
want.
No need to write any visual basic code.

Thanks a lot! This works.

Florian
 

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