Excel is not saving while trying to run in Uipath

i have multiple excel file which is in .xlsx.iam automating that multiple excel files using vba code after successful formating it not saving showing



i enabled in trust center but still showing that prompt

Hi @Vijayan_Sathyagiri_EXTERN,

Could you try saving the file in .xlsm format, maybe it could work.

i dont need in .xlsm format i need in .xlsx format
Thankyou

@Vijayan_Sathyagiri_EXTERN,

What activities you are using for this?

@Vijayan_Sathyagiri_EXTERN,

Try using Modern activities Excel Process ScopeUse Excel FileInvoke VBA

Also the macro code file should be a text file.

Like this:

@Vijayan_Sathyagiri_EXTERN,

  1. Open notepad
  2. Put your vba code in a text file
  3. Pass this file path to Code file path

same issue iam facing while debugging in visual studio code also

@Vijayan_Sathyagiri_EXTERN,

If excel macro settings are done now, try restarting the system once.

Found the solution
Thankyou
@ashokkarale
in vba Code i disable the code line ws.open and ws.close
Dont need to open the excel and close the excel

1 Like

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