Robot encountering the "Repair Tool for Microsoft Office" popup issue for a long period

One of the Robot has been encountering the “Repair Tool for Microsoft Office” popup issue for a long period. As a workaround, we performed the Repair activity for Microsoft Office but still the issue persist.

The issue initially arose following the migration to the Windows version during a live run. This problem could not be replicated in the development environment, nor when executing the process from UiPath Studio within the production environment. Notably, the issue occurs exclusively when the bot operates in unattended mode.
The error manifests solely during a specific activity involving the attempt to open XML files, accompanied by the message: “Use Excel File: Error opening workbook. If Excel is installed, run the ‘Repair Tool for Microsoft Office Interop’ from the Tools tab on the Home screen.”
An important observation is that this error occurs intermittently, often appearing multiple times consecutively at intervals before the process resumes normal operation. Statistically, approximately every tenth run results in failure.
It is also significant to note that no code changes were introduced during the migration process.

HI @varsha.rajarajan ,

Upgrade the excel package and republish and see whether it is working or not in unattended mode. If still issue persists check below thread

Can you try below mentioned solution in the thread

Hi @varsha.rajarajan

Please upgrade the excel package and restart the UiPath and try or let me know if you still face the same issue

If solution works for you please mark as solution

Thanks

@varsha.rajarajan

  1. Upgrade the package
  2. Use excel process scope

Settings for process scope - Modern Excel - Read Range performance (2025) - #3 by Anil_G

Cheers