In Excel settings does the macro is enabled?? If not enable and try again…
If not enabled Go-to settings - trust centre - advanced settings - macros - enable
When opening the file manually, do you get any other popups or messages? If you do, sometimes they can cause issues.
Also, provide a snippet of your Excel Scope activity with properties used, as well as the version of your Excel package used. Those things will be more helpful.
File contains the Excel application scope activity.
It also shows the properties set
“ToolPath” is a variable to store my file path.
This is an Excel Macro file(.xlsm)
Excel package version - UiPath.Excel.Activities: “[2.5.1]”,
UiPath Version - 2016.6655
Please note that that I have 2 servers on which I am running my workflow . One server has 32 bit excel and other server has 64 bit version. On 32 bit version, my RPA works fine, but now when i try to run on 64-bit excel server , It fails.
Also please note that while opening the macro file , we are required to clear browsing history data through our vba code. So as soon the macro is opened, it runs that code.
below is the code
That Version is like 3 years old. Have you considered upgrading?
It’s also possible that the 32 bit and 64 bit are not supported in the same way by UiPath. I would suggest escalating this question to Tech Support, because I’m not familiar in this area.