# Write range error

**URL:** <https://forum.uipath.com/t/write-range-error/73709>\
**Category:** Help\
**Tags:** studio, excel, activities\
**Created:** [October 31, 2018, 10:09pm UTC](https://forum.uipath.com/t/write-range-error/73709 "2018-10-31T22:09:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sayan](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Sayan](https://forum.uipath.com/u/Sayan)\
**Post date:** [October 31, 2018, 10:09pm UTC](https://forum.uipath.com/t/write-range-error/73709/1 "2018-10-31T22:09:15Z")

</div>

Hi All,

I am getting the following error in the write range activity while reading data from one excel to a datable and using the same datatable to write it into an excel which is not present and will be created by the bot having a custom tab name. The odd part is it is working fine on one machine but it’s giving this error when it runs on another machine.

Steps already tried:

1. Closed Excel.exe process in task manager.
2. Tried with both App integration and Excel write range but getting the same error.
3. Restarted laptop and tried running it.
4. Both the laptops are on Enterprise v2018.3.1 and have the latest version of UiPath.excel.activities (2.4.6863.3065)

Is there something I am missing or any solutions to this would be really helpful.

 ![IMG_20181101_032605](https://global.discourse-cdn.com/uipath/original/3X/a/4/a4088f26682d1734b46f823c1b80a9debce7ef59.jpeg)

---

<div class="post-metadata">

**Author:** ![balupad14](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/balupad14/32/462142_2.png) [@balupad14](https://forum.uipath.com/u/balupad14)\
**Post date:** [October 31, 2018, 10:15pm UTC](https://forum.uipath.com/t/write-range-error/73709/2 "2018-10-31T22:15:00Z")

</div>

hi @Sayan,

Is it possible to attached the Excel file or equivalent sample to test ?

Regards  
Balamurugan.s

---

<div class="post-metadata">

**Author:** ![CBlanchard](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/cblanchard/32/36447_2.png) [@CBlanchard](https://forum.uipath.com/u/CBlanchard)\
**Post date:** [October 31, 2018, 11:34pm UTC](https://forum.uipath.com/t/write-range-error/73709/3 "2018-10-31T23:34:23Z")

</div>

makes sure both excel file extensions are the same e.g. .xls to .xls

---

<div class="post-metadata">

**Author:** ![Sayan](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Sayan](https://forum.uipath.com/u/Sayan)\
**Post date:** [November 1, 2018, 9:51am UTC](https://forum.uipath.com/t/write-range-error/73709/4 "2018-11-01T09:51:23Z")

</div>

Both the excel files have the same extension. .xlsx

---

<div class="post-metadata">

**Author:** ![Sayan](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Sayan](https://forum.uipath.com/u/Sayan)\
**Post date:** [November 1, 2018, 9:51am UTC](https://forum.uipath.com/t/write-range-error/73709/5 "2018-11-01T09:51:55Z")

</div>

Please find attached the excel file and the .xaml file[Sec30.zip](https://global.discourse-cdn.com/uipath/original/3X/e/a/ea9704ad6acf1883c113714aa8a1094fdea03567.zip) (10.1 KB)

---

<div class="post-metadata">

**Author:** ![Vivek\_Arunagiri](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/vivek_arunagiri/32/558580_2.png) [@Vivek\_Arunagiri](https://forum.uipath.com/u/Vivek_Arunagiri)\
**Post date:** [November 1, 2018, 12:14pm UTC](https://forum.uipath.com/t/write-range-error/73709/6 "2018-11-01T12:14:01Z")

</div>

In Excel application scope, check the Visible property as false.
