C
Chris Molland
I have developed a VB application to add data into MS Project. I can create a
new task:
oProj = oProj.ActiveProject
oProj.Tasks.Add(NewTaskName.Text) 'From a text field
TaskCount = oProj.Tasks.Count
The user enters a number in a field (lets assume this is to represent days).
I understand that duration is measured in minutes. How do i convert the
user's entered number so the duration is correctly entered and calculated? I
currently have the following:
oProj.Tasks(TaskCount).Duration = DurationValue.Value 'From a number field.
Thank you.
new task:
oProj = oProj.ActiveProject
oProj.Tasks.Add(NewTaskName.Text) 'From a text field
TaskCount = oProj.Tasks.Count
The user enters a number in a field (lets assume this is to represent days).
I understand that duration is measured in minutes. How do i convert the
user's entered number so the duration is correctly entered and calculated? I
currently have the following:
oProj.Tasks(TaskCount).Duration = DurationValue.Value 'From a number field.
Thank you.