The process cannot access the file 'PATH' because it is being used by another process

excel
uiautomation
activities
studio

#1

Hi,

this error was showing while fetching excel from that “PATH”.

how to resolve?

thanks.


#2

@Venkatesh_Chowdary,

Close the excel file before running the Workflow.

Regards,
Lakshman.


#3

I have done the same…but then the problem hasn’t resolved


#4

@Venkatesh_Chowdary, In case if you have missed this,

  1. The process cannot access the file because it is being used by another process
  2. Activity Excel Scope does not end
  3. Dispose of attachments in Send Exchange Mail

Regards,
Dom :slight_smile:


#5

Hi @Venkatesh_Chowdary,

Refer this code and implement in the uipath.

Regards,
Arivu


#6

Use close workbook activity before using the same excel in another process