# Read same excel at the same time by multiple robots

**URL:** <https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042>\
**Category:** Activities\
**Tags:** question, robot, excel, activities\
**Created:** [2021 年 2 月 15 日午後 6:44 UTC](https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042 "2021-02-15T18:44:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![schwarzp](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/schwarzp/32/207469_2.png) [@schwarzp](https://forum.uipath.com/u/schwarzp)\
**Post date:** [2021 年 2 月 15 日午後 6:44 UTC](https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042/1 "2021-02-15T18:44:43Z")

</div>

Hi together,

i’m not sure if that could happen at all, but at least it came up to our mind.

We store our Config files from ReFramework not in the UiPath Project itself. We store it at a centraliced place so we don’t need to publish processes again if we just adjust a small part in the config.

If we run the same process on serveral servers, can it cause problem because of multiple users accessing at the same time the same config excel file? Or does the read range activity support this?

---

<div class="post-metadata">

**Author:** ![NIVED\_NAMBIAR](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nived_nambiar/32/169066_2.png) [@NIVED\_NAMBIAR](https://forum.uipath.com/u/NIVED_NAMBIAR)\
**Post date:** [2021 年 2 月 15 日午後 7:24 UTC](https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042/2 "2021-02-15T19:24:06Z")

</div>

Hi @schwarzp

Yes it would cause a problem since multiple bots are accesing same file at same.time

U had to create a locking system such that one robot can access the excel file at a time

Check this link

> [@Multiple instance / Robots Locking Mechanism](https://forum.uipath.com/t/multiple-instance-robots-locking-mechanism/74305):
>
> In multiple robots scenario, there are some process activities needs to be performed by only one robot. So do we have any robot locking mechanisms, so that the other robots will wait untill the specific activity has been completed by one robot.

Hope it helps you

Regards

Nived N 🤖

Happy Automation ☺☺☺

---

<div class="post-metadata">

**Author:** ![schwarzp](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/schwarzp/32/207469_2.png) [@schwarzp](https://forum.uipath.com/u/schwarzp)\
**Post date:** [2021 年 2 月 16 日午前 6:22 UTC](https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042/3 "2021-02-16T06:22:10Z")

</div>

thanks for your answer, but accessing the same “status” file would not do the job, because there can be multiple users accessing it too.

---

<div class="post-metadata">

**Author:** ![Aleem\_Khan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aleem_khan/32/534869_2.png) [@Aleem\_Khan](https://forum.uipath.com/u/Aleem_Khan)\
**Post date:** [2022 年 4 月 13 日午後 1:26 UTC](https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042/4 "2022-04-13T13:26:49Z")

</div>

Did you get answer for this question i have the same question in mind

---

<div class="post-metadata">

**Author:** ![saurabhB](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/saurabhb/32/263154_2.png) [@saurabhB](https://forum.uipath.com/u/saurabhB)\
**Post date:** [2022 年 4 月 13 日午後 6:53 UTC](https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042/5 "2022-04-13T18:53:00Z")

</div>

you can change the predefined location of config file (data) to any other folder/shared drive/sharepoint/storage bucket   
  
Yes if you try to access the same file from multiple bots/places it is going to cause error so rather than directly reading from the remote location just copy the config file to your workflows(bots) local(project) environment then read the file, this will not cause errors for reading by multiple users and remove the config from local once done with reading  
  
or another option you can change the config.xlsx file to csv file(its going to add more files as you cant have worksheets in csv , so settings , asset and any other worksheet needs to be a separate csv) , then you will be able to read the file concurrently (not recommended - as if someone makes changes while bot is reading it may cause errors - I am not sure just give a try)

---

<div class="post-metadata">

**Author:** ![postwick](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/postwick/32/227083_2.png) [@postwick](https://forum.uipath.com/u/postwick)\
**Post date:** [2022 年 4 月 13 日午後 7:59 UTC](https://forum.uipath.com/t/read-same-excel-at-the-same-time-by-multiple-robots/291042/6 "2022-04-13T19:59:48Z")

</div>

" \* **Read-only** - Opens the specified workbook in Read-Only mode. Selecting this check box enables you to perform data extraction operations in an Excel file which is locked for editing or has an edit password. By default, this check box is not selected."

> **[Excel Application Scope](https://docs.uipath.com/activities/docs/excel-application-scope)**
>
> UiPath.Excel.Activities.ExcelApplicationScope Opens an Excel workbook and provides a scope for Excel Activities. When the execution of this activity ends, the specified workbook and the Excel application are closed. If a WorkbookApplication variable...
