S
Smugliy
Is there any way to update status manager field for any task using VBA ?
Because I can only update it to the current user.When I am trying to update
for somebody else I am receiving an error.
As I can see from SDK there is no way to update it with PSI ,right ?
example of code in C#:
string current_manager =
applicationObject.ActiveProject.ProjectSummaryTask.StatusManagerName;
foreach (MSProject.Task task in
applicationObject.ActiveProject.Tasks)
{
if (task != null)
{
if (task.StatusManagerName != current_manager)
{
task.StatusManagerName = current_manager;
task.StatusManagerName = "test" //DOESN'T WORK
!!!!
}
}
}
Because I can only update it to the current user.When I am trying to update
for somebody else I am receiving an error.
As I can see from SDK there is no way to update it with PSI ,right ?
example of code in C#:
string current_manager =
applicationObject.ActiveProject.ProjectSummaryTask.StatusManagerName;
foreach (MSProject.Task task in
applicationObject.ActiveProject.Tasks)
{
if (task != null)
{
if (task.StatusManagerName != current_manager)
{
task.StatusManagerName = current_manager;
task.StatusManagerName = "test" //DOESN'T WORK
!!!!
}
}
}