# Refresh internal excel data if we have multiple rows

**URL:** <https://forum.katalon.com/t/refresh-internal-excel-data-if-we-have-multiple-rows/116303>\
**Category:** Miscellaneous\
**Created:** [February 1, 2024, 7:50am UTC](https://forum.katalon.com/t/refresh-internal-excel-data-if-we-have-multiple-rows/116303 "2024-02-01T07:50:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![priya.gupta](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/priya.gupta/32/23869_2.png) [@priya.gupta](https://forum.katalon.com/u/priya.gupta)\
**Post date:** [February 1, 2024, 7:50am UTC](https://forum.katalon.com/t/refresh-internal-excel-data-if-we-have-multiple-rows/116303/1 "2024-02-01T07:50:49Z")

</div>

Hello,

Based on the solution provided in the forum link below, it is working fine when we have just one row data to update, in my case I have around 10 rows how to do that.

[Refresh internal excel data - Product Forums / Katalon Studio - Katalon Community](http://forum.katalon.com/t/refresh-internal-excel-data/26178)

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [February 2, 2024, 1:40am UTC](https://forum.katalon.com/t/refresh-internal-excel-data-if-we-have-multiple-rows/116303/2 "2024-02-02T01:40:09Z")

</div>

> [@Refresh internal excel data](http://forum.katalon.com/t/refresh-internal-excel-data/26178/5):
>
> `excel.getValue("tc_variable", 1)`

Hi,

I think it gets 1 row due to this code. You should try loop here
