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