# Is WebListBox.CellValueAt String or Variant?

**URL:** <https://forum.xojo.com/t/is-weblistbox-cellvalueat-string-or-variant/67947>\
**Category:** Web\
**Created:** [January 12, 2022, 5:02pm UTC](https://forum.xojo.com/t/is-weblistbox-cellvalueat-string-or-variant/67947 "2022-01-12T17:02:58Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [February 14, 2022, 9:32pm UTC](https://forum.xojo.com/t/is-weblistbox-cellvalueat-string-or-variant/67947/21 "2022-02-14T21:32:19Z")

</div>

The value is “Error”, right? This works:

```auto
if t2 isa WebListBoxStyleRenderer then
  dim T2String as string = WebListBoxStyleRenderer(t2).Value
End If

```

---

<div class="post-metadata">

**Author:** ![Manfred\_Richter](https://forum.xojo.com/user_avatar/forum.xojo.com/manfred_richter/32/587_2.png) [@Manfred\_Richter](https://forum.xojo.com/u/Manfred_Richter)\
**Post date:** [February 14, 2022, 9:33pm UTC](https://forum.xojo.com/t/is-weblistbox-cellvalueat-string-or-variant/67947/22 "2022-02-14T21:33:13Z")

</div>

Hello,

thank you for your answer. Till 2021R1.1 the CellValueAt returned a JSON-String. And it was possible to decode this string- So it was possible to get the attributes of the cell, like color and content.

With 2022r1 you get no string but an object. As Greg told the cell still contains the information as JSON.

You ca check this when you compile the example with 2021r1.

---

<div class="post-metadata">

**Author:** ![Manfred\_Richter](https://forum.xojo.com/user_avatar/forum.xojo.com/manfred_richter/32/587_2.png) [@Manfred\_Richter](https://forum.xojo.com/u/Manfred_Richter)\
**Post date:** [February 14, 2022, 9:43pm UTC](https://forum.xojo.com/t/is-weblistbox-cellvalueat-string-or-variant/67947/23 "2022-02-14T21:43:46Z")

</div>

Hello,

yes it works. This helps very much.

Thank you very much

[Previous page](https://forum.xojo.com/t/is-weblistbox-cellvalueat-string-or-variant/67947.md?page=1)
