# GetCell using a variable in the rowNum port

**URL:** https://community.thunkable.com/t/getcell-using-a-variable-in-the-rownum-port/25907
**Category:** Questions about Thunkable X
**Created:** [May 9, 2018, 4:58am UTC](https://community.thunkable.com/t/getcell-using-a-variable-in-the-rownum-port/25907 "2018-05-09T04:58:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Stacy\_Elliott](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Stacy\_Elliott](https://community.thunkable.com/u/Stacy_Elliott)
#### Post date: [May 9, 2018, 4:58am UTC](https://community.thunkable.com/t/getcell-using-a-variable-in-the-rownum-port/25907/1 "2018-05-09T04:58:05Z")

</div>

I’m trying to use GetCell but I want to use a variable in the rowNum.

If I put a text “8” in, the routine works fine.

But if I put at Variable (with the value of 8) in it instead of a Text “8” I get UNDEFINED returned.

Thoughts?

---

<div class="post-metadata">

### Author: ![Stacy\_Elliott](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Stacy\_Elliott](https://community.thunkable.com/u/Stacy_Elliott)
#### Post date: [May 9, 2018, 5:06am UTC](https://community.thunkable.com/t/getcell-using-a-variable-in-the-rownum-port/25907/2 "2018-05-09T05:06:04Z")

</div>

Ok, not convinced that I did the test right… Maybe it does work… grrr

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 9, 2018, 5:14am UTC](https://community.thunkable.com/t/getcell-using-a-variable-in-the-rownum-port/25907/3 "2018-05-09T05:14:57Z")

</div>

This is very strange. Neither with a variable, nor with a literal problem, it should not be.

---

<div class="post-metadata">

### Author: ![Stacy\_Elliott](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Stacy\_Elliott](https://community.thunkable.com/u/Stacy_Elliott)
#### Post date: [May 9, 2018, 5:23am UTC](https://community.thunkable.com/t/getcell-using-a-variable-in-the-rownum-port/25907/4 "2018-05-09T05:23:23Z")

</div>

I’m sure I’m wrong… Forget it…

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/getcell-using-a-variable-in-the-rownum-port/25907/5 "2024-11-08T12:02:52Z")

</div>


