C
chuks79
I have been trying to use the Time Scaled Data method to extract hours
from MS Project into MS Excel and I have been running into loads of
problems.
I was able to put get the code for extracting data from Excel into MS
Project, but I cannot do it the other way. The code for extracting from
Excel to Project is:
For Each oAssignment In oResource.Assignments
If oAssignment.TaskID = oExcelRange Then
Set oTimeScale = oAssignment.TimeScaleData(oWeekStart, _
oWeekEnd + 1, pjAssignmentTimescaledActualWork,
pjTimescaleDays, 1)
For iDayCount = 1 To 7
oTimeScale.Add CStr(oExcelRange.Offset(0, 9 + iDayCount)),
iDayCount
Next
End If
Next 'Assignment
Please advise on how I can extract time scaled data from MS Project
into MS Excel.
Thanks.
Paul
from MS Project into MS Excel and I have been running into loads of
problems.
I was able to put get the code for extracting data from Excel into MS
Project, but I cannot do it the other way. The code for extracting from
Excel to Project is:
For Each oAssignment In oResource.Assignments
If oAssignment.TaskID = oExcelRange Then
Set oTimeScale = oAssignment.TimeScaleData(oWeekStart, _
oWeekEnd + 1, pjAssignmentTimescaledActualWork,
pjTimescaleDays, 1)
For iDayCount = 1 To 7
oTimeScale.Add CStr(oExcelRange.Offset(0, 9 + iDayCount)),
iDayCount
Next
End If
Next 'Assignment
Please advise on how I can extract time scaled data from MS Project
into MS Excel.
Thanks.
Paul