Share

ILowLevelSupport.RunMacro Method

Runs a VBA macro.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0

Syntax

VB

Function RunMacro ( 
	projectName As String,
	componentName As String,
	macroName As String,
	ParamArray args As Object()
) As Object

C#

Object RunMacro(
	string projectName,
	string componentName,
	string macroName,
	params Object[] args
)

Parameters

projectName
Type: System.String
the VBA project name
componentName
Type: System.String
the VBA component name
macroName
Type: System.String
the VBA macro name
args
Type:  System.Object[]
arguments for the macro

Return Value

Type: Object
if the macro is a Function, this will be its return value

See Also

Reference

Was this information helpful?