Navigation:  Object Model Reference > Macros Collection >

Load Method

Previous pageReturn to chapter overviewNext page

Loads macros, steps, or script from a file.

 

Syntax

 

object.Load(ByVal filename As String, ByVal clear As Boolean = *)

 

Arguments

 

object

       collection

 

filename

       Required.  The filename to load from.

 

clear

       Optional.  Whether to clear the collection before loading.  If False, items are added to the existing collection (macros of the same name will overwrite existing macros).  Defaults to False for macros and True for steps or script collections.

 

See Also

 

Applies to Macros collection, Steps collection, and Scripts collection