Skip to content

Run Excel Macro

Run a VBA macro in an .xlsm file (Windows + Excel + COM).

ExcelExcelRunMacroWindows only

Overview

Run Excel Macro is a no-code automation step in the Excel category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 2 parameter(s) to control exactly how it behaves. This step runs on Windows. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.

What it does

Run a VBA macro in an .xlsm file (Windows + Excel + COM).

Parameters

ParameterTypeRequiredDefaultDescription
Workbook (.xlsm)file
Required
Example: C:/temp/book.xlsm
Supports variables
Macro namestring
Required
Example: Module1.MyMacro
Supports variables

How to use Run Excel Macro

  1. 1

    Open AutoFlowRPA and drag the Run Excel Macro command from the Excel group onto the canvas.

  2. 2

    Set its parameters in the side panel — Run Excel Macro has 2 configurable field(s).

  3. 3

    Connect it into your workflow and press Run. Everything executes locally on your machine.

Frequently asked questions

What does the Run Excel Macro command do?

Run a VBA macro in an .xlsm file (Windows + Excel + COM).

Which group does the Run Excel Macro command belong to?

Run Excel Macro is part of the Excel group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.

Does the Run Excel Macro command take any parameters?

Yes — Run Excel Macro has 2 configurable field(s), all editable in the visual node editor.

More Excel commands

Ready to automate your busywork?

Start your free 30-day trial today. No credit card, no commitment.