InfoConnect for Unisys VBA Guide
RunMacro Method (Macro)
The location of the macro. MacroEnumerationOption_Document specifies a macro in the session document's VBA project. MacroEnumerationOption_Common specifies a macro in the Common VBA project.
The name of the macro to run.
Parameter to pass to the macro.
Runs a macro that takes a single parameter.
Syntax
object.RunMacro( _
   ByVal macroSource As MacroEnumerationOption, _
   ByVal macroName As String, _
   ByVal macroParameter As String _
) 

Parameters

macroSource
The location of the macro. MacroEnumerationOption_Document specifies a macro in the session document's VBA project. MacroEnumerationOption_Common specifies a macro in the Common VBA project.
macroName
The name of the macro to run.
macroParameter
Parameter to pass to the macro.
See Also

 

 


2015 Attachmate

Send Feedback