# Listbox CellTextChange Event

**URL:** <https://forum.xojo.com/t/listbox-celltextchange-event/32019>\
**Category:** General\
**Created:** [June 17, 2016, 6:27am UTC](https://forum.xojo.com/t/listbox-celltextchange-event/32019 "2016-06-17T06:27:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuai\_gu](https://forum.xojo.com/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@shuai\_gu](https://forum.xojo.com/u/shuai_gu)\
**Post date:** [June 17, 2016, 6:27am UTC](https://forum.xojo.com/t/listbox-celltextchange-event/32019/1 "2016-06-17T06:27:00Z")

</div>

I want the listbox cell just ipaddress,So I have to filter other characters.But I found some problems

In Listbox1.CellTextChang event.

```auto
me.Cell(row,column) = "Hello"
```

So When I change the content of cells,Events will be triggered.Content of cells will become “Hello!”  
But there is no effective, Who can tell me why ? Thank you very much.

---

<div class="post-metadata">

**Author:** ![Tim\_Hare](https://forum.xojo.com/user_avatar/forum.xojo.com/tim_hare/32/176_2.png) [@Tim\_Hare](https://forum.xojo.com/u/Tim_Hare)\
**Post date:** [June 17, 2016, 6:47am UTC](https://forum.xojo.com/t/listbox-celltextchange-event/32019/2 "2016-06-17T06:47:14Z")

</div>

When you are editing a cell, it is using ActiveCell. You need to set that.

me.ActiveCell.Text = “Hello”

---

<div class="post-metadata">

**Author:** ![shuai\_gu](https://forum.xojo.com/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@shuai\_gu](https://forum.xojo.com/u/shuai_gu)\
**Post date:** [June 17, 2016, 8:51am UTC](https://forum.xojo.com/t/listbox-celltextchange-event/32019/3 "2016-06-17T08:51:12Z")

</div>

Thank you ! ???

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:21pm UTC](https://forum.xojo.com/t/listbox-celltextchange-event/32019/4 "2020-10-29T18:21:48Z")

</div>


