# CommentEdit Method

> Opens the comment input control so the end user can edit the comment with the given CommentId; returns False when the comment doesn't exist.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > CommentEdit Method
- **165 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedit-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedit-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedit-method/llms-full.txt

---

This method opens a comment input control which the end-user can use to edit the specified comment.

Introduced: 30.0.

### Syntax

```vbscript
TXTextControl.CommentEdit CommentId
```

### Parameters

| Parameter | Description |
|---|---|
| CommentId | Specifies a comment identifier. |

### Return Value

The return value is True, if the comment with the specified identifier exists and the comment input control could be opened. Otherwise, it is False.

### Data Types

| Name | Data type |
|---|---|
| CommentId | Long |
| Return value | Boolean |

### See Also

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

---

## Nearby

- **Previous:** [CommentDeleted Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentdeleted-event/llms-full.txt)
- **Next:** [CommentedTextEntered Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentedtextentered-event/llms-full.txt)
