To pass an argument to a macro in UiPath, you can use the Execute macro
activity. The Execute macro
activity allows you to execute macros that are stored in Excel files.
To use the Execute macro
activity, you will need to:
- Add the
Execute macro
activity to your workflow. - In the
Macro file
property, specify the path to the Excel file that contains the macro. - In the
Macro name
property, specify the name of the macro. - In the
Arguments
property, specify the arguments that you want to pass to the macro.
Check this out to know on how to pass parameters to macro
Cheers @Ritaman_Baral