Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Macro Object / RunLegacyReflectionMacro Method
Specifies the name of the macro to run. An error occurs if there is no macro of this name in the current settings file or in any referenced files. This value can be up to 255 characters long. If you have more than one macro with the same name in different files, precede each macro name with the project name and a period to correctly identify the macro. For example, "SharedMacros.Login" identifies the "Login" macro in the "SharedMacros" settings file.
An optional string to pass information to the macro.
In This Topic
    RunLegacyReflectionMacro Method (Macro)
    In This Topic
    Runs a legacy Reflection macro.
    Syntax
    expression.RunLegacyReflectionMacro( _
       ByVal macroName As String, _
       ByVal macroData As String _
    ) 
    where expression is a variable that represents a Macro Object

    Parameters

    macroName
    Specifies the name of the macro to run. An error occurs if there is no macro of this name in the current settings file or in any referenced files. This value can be up to 255 characters long. If you have more than one macro with the same name in different files, precede each macro name with the project name and a period to correctly identify the macro. For example, "SharedMacros.Login" identifies the "Login" macro in the "SharedMacros" settings file.
    macroData
    An optional string to pass information to the macro.
    See Also