# CommentInsert Method

> Opens the comment input control so the end user can add a comment to the selected text; returns False without a selection or when it's too complex.

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

---

This method opens a comment input control which the end-user can use to insert a new comment in the document.

Introduced: 30.0.

### Syntax

```vbscript
TXTextControl.CommentInsert
```

### Return Value

The return value is True, if the comment input control could be opened. The return value is False, if there is no text selected or the text selection is too complex.

### Data Types

| Name | Data type |
|---|---|
| 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:** [CommentHighlightMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commenthighlightmode-property/llms-full.txt)
- **Next:** [CommentNext Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/commentnext-method/llms-full.txt)
