# CommentChanged Event

> Occurs when the text of a comment in the document has been changed; the CommentId parameter passes the Long identifier of the changed comment.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Event
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > CommentChanged Event
- **119 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentchanged-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentchanged-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentchanged-event/llms-full.txt

---

Occurs when the text of a comment has been changed.

Introduced: 30.0.

### Syntax

```vbscript
CommentChanged(CommentId)
```

### Parameters

| Parameter | Description |
|---|---|
| CommentId | Is the identifier of the changed comment. |

### Data Types

| Name | Data type |
|---|---|
| CommentId | Long |

### See Also

- [Programming Category: Commenting a document](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/comments/llms-full.txt)

---

## Nearby

- **Previous:** [ColumnWidthsAndDistances Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/columnwidthsanddistances-property/llms-full.txt)
- **Next:** [CommentCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentcreated-event/llms-full.txt)
