ILowLevelSupportRunMacro Method |
Runs a VBA macro.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Function RunMacro (
projectName As String,
componentName As String,
macroName As String,
ParamArray args As Object()
) As Object
Object RunMacro(
string projectName,
string componentName,
string macroName,
params Object[] args
)
Parameters
- projectName
- Type: SystemString
the VBA project name - componentName
- Type: SystemString
the VBA component name - macroName
- Type: SystemString
the VBA macro name - args
- Type: SystemObject
arguments for the macro
Return Value
Type:
Objectif the macro is a Function, this will be its return value
See Also