GetTaskStep Example

 

The following example stores the first step of the task into a variable called ôFirstStepö and displays the result in a message box.

 

Sub Main

 Dim FirstStep As Variant

 

 FirstStep = CurrentTask.GetTaskStep (0)

 MsgBox FirstStep

End Sub