Navigation:  Object Model Reference > Steps Collection >

Add Method

Previous pageReturn to chapter overviewNext page

Adds a Step object to the collection.

 

Syntax

 

Steps.Add(ByVal action As String, ByVal index As Long = -1) As IStep

 

Arguments

 

Steps

       Steps collection

 

action

       Required.  Name of the custom action or user action for the step.  For built-in actions, this value is the name of the action as documented in the help.

 

index

       Optional.  0-based index to insert the step at.  If not provided, inserts at the end of the collection.

 

See Also

 

Applies to Steps collection