
How to set programmatically set values of custom added columns
Hi Monica
To make sure you have the most productive way to achieve this I should know
how these values are presented to the program.
By all means, the following works.
Suppose you want to add values to the .Text21 column
You walk through the tasks of the output file
For each anytask in output_file.tasks
if not anytask is nothing then 'skip emty lines
(you here find the relevant value for that task)
anytask.text21= whatevervalueyouhave
end if 'Is nothing
next anytask
HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
Project Management Consultancy
Prom+ade BVBA
32-495-300 620
Quote:
> Hi,
> I am creating a schedule programmatically using C#.
> At the time of creating the schedule I am using a template
> which has custom added columns.
> I want to add values for these custom added columns at the
> time of creating schedule.
> Pls suggest how this can be achieved?
> Regards,
> Monica