I am encountering an issue in UiPath where the Excel process opens and then immediately closes when running automation. The error occurs during the “Excel Process Scope” activity, specifically on the “Clear Sheet” action, displaying the message:
“Excel appears to be busy, Please check that you are not editing a value and no dialog windows are open.”
Additional details:
- When switching to “Excel Application Scope,” the error reads:
“Failed setting the current sheet to ‘sheet1’ in workbook. Original error message: 0x800AC472.”
Steps I have already attempted:
- Restarted the VM.
- Used the “Kill Excel” activity before the process.
- Enabled the “Force Kill” option on the Excel Process Scope.
- Added delays before the activities.
- Repaired the Robot using the installation file (version 24.10.1).
- Ensured Excel 2016 is the same version on both development PCs and Robot environment.
- Confirmed there are no background instances of Excel running.
Please note that the process is working fine in the studio.
Despite these efforts, the issue persists. Any guidance on resolving this would be greatly appreciated.