task.DurationText gives the full value entered in duration column which can be used to differentiate between edays and days.
Thanks,
Priyanka
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have a VSTO addin for MS Project 2010/2013/2016/2019, where it imports/exports data from an external application.
In MS Project, duration for task can be entered in days or edays. We need a way to determine if the duration entered by user is in days or edays.
Please suggest any way to check this.
Thanks,
Priyanka
task.DurationText gives the full value entered in duration column which can be used to differentiate between edays and days.
Thanks,
Priyanka
Hi Viorel,
Duration1Estimated and Duration2Estimated property values are true even if Duration is mentioned in edays, emonths , days or months
Estimated property value is also false only irrespective of Duration field value.
any other suggestions ?
Thanks,
Priyanka
It is difficult to compare DurationText value in all languages hence we need a method or property which will return a boolean value
We tried Estimated property but the value is No even if we provide Duration field value as 2 days or 2 edays.
Can someone please any other way to determine if the duration of task is elapsed or not?
Thanks,
Priyanka