InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Macro Object / RunMacro2 Method
A ProjectOption value. The location of the macro. ProjectOption_CurrentProject refers to a macro in the current session document's VBA project. ProjectOption_CommonProject refers to a macro in the Common VBA project.
The name of the macro to run
In This Topic
    RunMacro2 Method (Macro)
    In This Topic
    Runs a macro.
    Syntax
    expression.RunMacro2( _
       ByVal macroSource As ProjectOption, _
       ByVal macroName As String _
    ) 
    where expression is a variable that represents a Macro Object

    Parameters

    macroSource
    A ProjectOption value. The location of the macro. ProjectOption_CurrentProject refers to a macro in the current session document's VBA project. ProjectOption_CommonProject refers to a macro in the Common VBA project.
    macroName
    The name of the macro to run
    See Also