Reading and Appending the Excel File

Hello Everyone,

I am facing the below error. If anyone can help.

ERROR: ** For Each Excel Report File in Folder: Failed opening the Excel file \Mac\Home\Documents\UiPath\Excel Reports\Daily Reports~$Shop1.xlsx. Possible reasons: the file is corrupt, the file is already used by another process or you don’t have permissions to open the file. **

@NiraliPatel

\Mac\Home\Documents\UiPath\Excel Reports\Daily Reports~$Shop1.xlsx. please close this file before running .Or simply Use Kill process activity in your workflow for killing Excel Process.

image

Check the package version of excel activitiy and reinstalled it again

1 Like

Hi @NiraliPatel

You can use the “Kill Process” activity to terminate a running process.

image

If you still face any issues try using Workbook activities with linq queries. This error might not result.

Regards

1 Like

Thank you @rlgandu It works.

1 Like

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