Duration set by calculation from custom fields

S

Steve NCC

How do you configure the duration field to accept and fix a duration based on
a caluculated value from two or more custon fields.
 
J

JackD

You can't configure it to do this. You can use a visual basic macro to do
this.

The basic structure will be something like this:

Sub SteveNCC()
for each task in activeproject tasks
if not task is nothing then
if not task.summary then
'do whatever math you need to do here for example
'task.duration = task.number1 + task.number2
end if
end if
next task
End Sub
 

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