Uipath activity Error, Wants to fix this

Hi

Getting this macro-related error(Using this 1st time)

Can anyone help me with this?

Thanks in advance.

Hi @Ss_RPA,

As mentioned, this is an Excel macro issue.
You can try the following options:

  1. Please check whether your script is correct.
  2. If it is correct, ensure that Excel macros are enabled and try again.

Hi,

  1. Yes my script is correct because it works properly on another system, but it is not working on mine

  2. How?

Okay,

If you’re asking for how to enable macros in excel then →

Open Excel, go to File → Options → Trust Center → Trust Center Settings → Macro Settings
Select “Enable all macros” and also check “Trust access to the VBA project object model.”

Try this if it’s not already done, and then rerun the process

Thanks

1 Like

To resolve this issue,
Open Excel → File → Options → Trust Center → Trust Center Settings
Go to Macro Settings
Enable “Enable all macros”
Check “Trust access to the VBA project object model”
Restart Excel and rerun the UiPath process
After enabling these settings, the runtime execution error will be resolved.

Let me know if it works :slightly_smiling_face:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.