Am working on Ms project file and currently am having trouble in below two areas
1) Now am trying to iterate all rows and columns through a loop for ex:-
Task ResourcesName Start
products xxxx 10/3/2017
projects yyyy 11/04/2017
I can get first column value(Task) name using below code
dim var = ActiveProject.Tasks(x + 1).Name
but I need to traverse to resources name and start column and I need to store all the values in variables
2) second question is I observed that in my MPP file that for some columns names are like
- Task
- ResourcesName
- Start etc
But, If I try to store the column values by using below code
For each oSubTasks in Activeproject.Task
dim var1 = oSubTasks.GetField(FieldNameToFieldConstant("Task"))
next
The values are like Text1,Text2 etc
My question is that how can i get the actual displayed values from MPP file columns