Link to home
Start Free TrialLog in
Avatar of steranka
steranka

asked on

Automation of MS Project from C# - How can I call DurationFormat?

I've got some VBA code I'm porting to C#, and it calls DurationFormat.  For example,

Print #hOut, aTask.ID & "," & Quote(aTask.Name) & "," & aTask.PercentComplete & "%" _
                & "," & Quote(aTask.ResourceNames) & "," & DurationFormat(aTask.Duration, pjDays) _
                & "," & aTask.Start & "," & aTask.Finish

How can I call DurationFormat() from C#?
I found solutions using MS Project 2007, but I'm still using MS Project 2003.
Any suggestions?
ASKER CERTIFIED SOLUTION
Avatar of puppydogbuddy
puppydogbuddy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial