I am trying to export data from Excel to MS Project using VBA. I want to do resource allocation programmatically based on their work hours. I am also getting an error that says:
Runtime Error : 1101
The argument value is not valid
Dim t As Task
t.Assignments.Add TaskID:=4, ResourceID:='test', Units:= 'hrs/meeting'
t.Assignments.Add TaskID:=4, ResourceID:='test1', Units:= 'hrs/meeting'
Is there anyone who can help me out? Thanks.
Bookmarks