Runs a macro on the current Excel workbook. You must define the macro in the Microsoft Visual Basic project associated with the workbook.


icon

Inputs/Outputs

  • cNI__reportlvclass.png

    report in is a reference to the report whose appearance, data, and printing you want to control. Use the New Report VI to generate this LabVIEW class object.

  • cstr.png macro name

    macro name specifies the name of the macro to run from LabVIEW.

  • c1dfxdt.png parameters

    parameters contains the input parameters of the macro.

    You cannot send more than nine parameters.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iNI__reportlvclass.png

    report out is a reference to the report whose appearance, data, and printing you want to control.

    You can wire this output to other Report Generation VIs.

  • ifxdt.png return value

    return value sets the value returned by the macro.

    The value is a variant. You must convert the value to LabVIEW data if you want to use the value in LabVIEW. Use the Variant to Data VI from the Communication»ActiveX subpalette to convert the return value to LabVIEW data.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.