Read Range: The process cannot access the file 'D:\UI_Path\folder\Testing.xlsx' because it is being used by another process

Hello All,

I am using the excel application scope… i am getting this error Set Excel File to monitor: The process cannot access the file ‘D:\UI_Path\folder\Testing.xlsx’ because it is being used by another process.

Can any one help me on this…

Thanks,
Suresh.

This mostly happens when the excel is in open state. Can you confirm you have closed the excel before you run the bot.

Regards,
Anish

Hi @suresh_kumar4,

As explained by @anish_shenoy, it’s usually when a process of Excel is already opened.¨

You can ensure that there is no instance of Excel opened by using “Kill Process” activity for example before accessing to your Excel file.

Regards

Hi Anish,
Yeah, I have closed the excel file yet the error persist. Can you help me with this error.
Thanks in advance.

Regards,
Namrata

Hi Namrata,

Try using kill process and for the process name give “excel”.

Thanks Alen.