That code works for me...
That is some interesting code, I tested it, and it seems to work fine for me.
BTW, the Ignore Fail check box doesn't get updated in the grid, but the value is updated to True with this script for all Project Steps and Subroutine Steps (perhaps you wanted all Global Subroutine Steps to be flagged as well??).
If that is what you need, add this script code:
Set objSteps = Project.Steps(vbldStepGlobalSubroutine)
' set all projects subroutine steps to ignore failure
For idx = 0 To objSteps.Count-1
objSteps(idx).IgnoreFailure = True
Next
If that isn't what you needed, how exactly isn't it working for you?
Kevin
|