Range.Run (Excel)

Runs the Microsoft Excel macro at this location. The range must be on a macro sheet.

You cannot use named arguments with this method. Arguments must be passed by position. The Run method returns whatever the called macro returns. Objects passed as arguments to the macro are converted to values (by applying the Value property to the object). This means that you cannot pass objects to macros by using the Run method.

Run (Arg1, Arg2, ..., Arg30)


Dim varRun As Variant
varRun = ActiveCell.Run()

Arguments

Arg1, Arg2, ..., Arg30

Arg30 - The arguments that should be passed to the function