DeleteTaskStep Example

 

The following example will delete the fourth step of the task. (Note that step indexing starts at ô0.ö Therefore, a value of ô3ö in DeleteTaskStep will remove the fourth step in the task.)

 

Sub Main

 CurrentTask.DeleteTaskStep (3)

End Sub