RunExternalLegacyReflectionMacro Method (IMacro)
In This Topic
Runs a legacy Reflection macro from an external file (that is, a file that is not in current use).
Syntax
'Declaration
Sub RunExternalLegacyReflectionMacro( _
ByVal As String, _
ByVal As String, _
ByVal As String _
)
'Usage
Dim instance As IMacro
Dim macroFileName As String
Dim macroName As String
Dim macroData As String
instance.RunExternalLegacyReflectionMacro(macroFileName, macroName, macroData)
void RunExternalLegacyReflectionMacro(
string ,
string ,
string
)
Parameters
- macroFileName
- The path and name of the file that contains the macro you want to run. An error is returned if you specify an invalid or nonexistent file.
- macroName
- The macro you want to run. An error is returned if the macro does not exist.
- macroData
- An optional string to pass information to the macro.
See Also