# CommentEntry Interface

> CommentEntry interface in the TX Sheet Control TypeScript API for the browser: An authored thread entry with preserved UTC timestamps.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > CommentEntry Interface
- **546 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/llms-full.txt

---

An authored thread entry with preserved UTC timestamps.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [createdAt](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/createdat-property/llms-full.txt) | The createdAt value of CommentEntry. |
| [id](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/id-property/llms-full.txt) | The id value of CommentEntry. |
| [modifiedAt](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/modifiedat-property/llms-full.txt) | The modifiedAt value of CommentEntry. |
| [text](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/text-property/llms-full.txt) | The text value of CommentEntry. |
| [userName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/username-property/llms-full.txt) | The userName value of CommentEntry. |

### Examples

Create sample data and obtain this detached result from the owning document. Return the selected data to the report or application UI.

```typescript
import type { Workbook } from '@txtextcontrol/tx-sheet-control';

function createCommentEntryReport(book: Workbook) {
    const sheet = book.sheets.at(0);
    sheet.range('B8:B9').setValues([[120], [80]]);
    sheet.cell('B10').setFormula('=SUM(B8:B9)');
    sheet.range('B8:B10').format({ numberFormatCode: '#,##0.00', fontSize: 11 });
    sheet.cell('B10').comments.add('Approved for sending.');

    const result = sheet.cell('B10').comments.thread!.entries[0];
    return result;
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Comments, Notes and Hyperlinks](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/comments/llms-full.txt)

---

## In This Section

- [CommentEntry.createdAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/createdat-property/llms-full.txt): CommentEntry.createdAt property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [CommentEntry.id Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/id-property/llms-full.txt): CommentEntry.id property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [CommentEntry.modifiedAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/modifiedat-property/llms-full.txt): CommentEntry.modifiedAt property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [CommentEntry.text Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/text-property/llms-full.txt): CommentEntry.text property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [CommentEntry.userName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/username-property/llms-full.txt): CommentEntry.userName property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.

---

## Nearby

- **Previous:** [columnName Function](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/columnname-function/llms-full.txt)
- **Next:** [CommentEntry.createdAt Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/commententry/createdat-property/llms-full.txt)
