R
roadkill
I've tried both For Each...Next and Do...Loop in an effort to cycle through
all tasks in a series of projects and interrogate them for certain
conditions. However I haven't been able to figure out a way to avoid macro
termination caused by blank task (i.e. blank lines inserted into a schedule
to separate groups of tasks). I also tried the On Error statement in an
effort to skip over these blanks, but that didn't work either.
I recognize that removing the blanks would resolve the issue, but that may
be difficult to sell. Is there a way check each task yet avoid this error?
THE ERROR READS: Object variable or With block variable not set.
Thanks for the help,
Will
all tasks in a series of projects and interrogate them for certain
conditions. However I haven't been able to figure out a way to avoid macro
termination caused by blank task (i.e. blank lines inserted into a schedule
to separate groups of tasks). I also tried the On Error statement in an
effort to skip over these blanks, but that didn't work either.
I recognize that removing the blanks would resolve the issue, but that may
be difficult to sell. Is there a way check each task yet avoid this error?
THE ERROR READS: Object variable or With block variable not set.
Thanks for the help,
Will