# The range doesn't exist

**URL:** <https://forum.uipath.com/t/the-range-doesnt-exist/132563>\
**Category:** Help\
**Tags:** excel, activities\
**Created:** [July 11, 2019, 3:56am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563 "2019-07-11T03:56:17Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![marwan992](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@marwan992](https://forum.uipath.com/u/marwan992)\
**Post date:** [July 11, 2019, 3:56am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/1 "2019-07-11T03:56:17Z")

</div>

Hello  
While execution the bot send me this message and sometimes not.  
Can I know the reason or find a proper solution for it?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [July 11, 2019, 3:58am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/2 "2019-07-11T03:58:55Z")

</div>

@marwan992

Could you please tell more details about the issue and what are you trying and when you are getting this error ?

Could you please show me screenshot of the issue and so that we can help you better.

---

<div class="post-metadata">

**Author:** ![Palaniyappan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/palaniyappan/32/524095_2.png) [@Palaniyappan](https://forum.uipath.com/u/Palaniyappan)\
**Post date:** [July 11, 2019, 4:48am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/3 "2019-07-11T04:48:11Z")

</div>

Fine  
–Kindly close the excel and execute buddy or use a kill process activity before to excel application scope and mention the process name as “EXCEL” in the property panel  
–Or if the issue still persists, kindly check with the range specified in the read or write range activity, or try to mention as “” alone in the range option that would read the whole file  
–kindly check with the sheet name as well

hope this would help you  
cheers @marwan992

---

<div class="post-metadata">

**Author:** ![jitendra\_123](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/jitendra_123/32/44340_2.png) [@jitendra\_123](https://forum.uipath.com/u/jitendra_123)\
**Post date:** [July 11, 2019, 5:03am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/4 "2019-07-11T05:03:03Z")

</div>

Hi @marwan992  
-This error comes due to you didn’t provided the range Correctly  
-Second thing is that when you are reading the file check the **Sheet name** Is it correct check it once.  
Regards

---

<div class="post-metadata">

**Author:** ![marwan992](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@marwan992](https://forum.uipath.com/u/marwan992)\
**Post date:** [July 11, 2019, 5:31am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/5 "2019-07-11T05:31:51Z")

</div>

i am trying to write cell in my file. Sometimes i face this error

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [July 11, 2019, 5:33am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/6 "2019-07-11T05:33:48Z")

</div>

@marwan992

Show me screenshot of **Write Cell** Activity in your process and will check once how you passed the range.

---

<div class="post-metadata">

**Author:** ![marwan992](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@marwan992](https://forum.uipath.com/u/marwan992)\
**Post date:** [July 11, 2019, 5:35am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/7 "2019-07-11T05:35:03Z")

</div>

![Capture22](https://global.discourse-cdn.com/uipath/original/3X/b/a/ba9bd1d732b24c8917e82a743a0be1db056079e8.png)

---

<div class="post-metadata">

**Author:** ![Palaniyappan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/palaniyappan/32/524095_2.png) [@Palaniyappan](https://forum.uipath.com/u/Palaniyappan)\
**Post date:** [July 11, 2019, 5:36am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/8 "2019-07-11T05:36:22Z")

</div>

so at which activity you were getting error buddy  
Cheers @marwan992

---

<div class="post-metadata">

**Author:** ![marwan992](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@marwan992](https://forum.uipath.com/u/marwan992)\
**Post date:** [July 11, 2019, 5:37am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/9 "2019-07-11T05:37:20Z")

</div>

in D1

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [July 11, 2019, 5:37am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/10 "2019-07-11T05:37:42Z")

</div>

@marwan992

Uncheck **Visible** option for **Excel Application Scope** Activity and then try once.

---

<div class="post-metadata">

**Author:** ![marwan992](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@marwan992](https://forum.uipath.com/u/marwan992)\
**Post date:** [July 11, 2019, 5:38am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/11 "2019-07-11T05:38:59Z")

</div>

it is already unchecked. I want for each excel file to write the same heading A1 until F1 from level0 to Level 6

---

<div class="post-metadata">

**Author:** ![Palaniyappan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/palaniyappan/32/524095_2.png) [@Palaniyappan](https://forum.uipath.com/u/Palaniyappan)\
**Post date:** [July 11, 2019, 5:39am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/12 "2019-07-11T05:39:35Z")

</div>

kindly uninstall the excel package in manage packages in design tab and reinstall and try buddy  
@marwan992

---

<div class="post-metadata">

**Author:** ![Palaniyappan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/palaniyappan/32/524095_2.png) [@Palaniyappan](https://forum.uipath.com/u/Palaniyappan)\
**Post date:** [July 11, 2019, 5:43am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/13 "2019-07-11T05:43:58Z")

</div>

were you able to get know buddy  
Cheers @marwan992

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [July 11, 2019, 5:45am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/14 "2019-07-11T05:45:41Z")

</div>

@marwan992

Are you trying to write same thing for all Excel files ?

After writing into Excel file completed then try to close the Excel file by using **Kill Process** Activity and pass process Name as **Excel** else create one workbook variable for **Excel Application Scope** Activity and pass it to **Close Workbook** Activity to close the Excel file.

---

<div class="post-metadata">

**Author:** ![marwan992](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@marwan992](https://forum.uipath.com/u/marwan992)\
**Post date:** [July 11, 2019, 7:31am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/15 "2019-07-11T07:31:14Z")

</div>

Still facing the same problem with error runtime execution

---

<div class="post-metadata">

**Author:** ![Anitha\_Lakshmi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anitha_lakshmi/32/98724_2.png) [@Anitha\_Lakshmi](https://forum.uipath.com/u/Anitha_Lakshmi)\
**Post date:** [September 26, 2019, 5:38am UTC](https://forum.uipath.com/t/the-range-doesnt-exist/132563/16 "2019-09-26T05:38:00Z")

</div>

Were you able to find a solution for this?
