# TableDeleted Event

> Occurs after a table has been deleted from the document of the TXTextControl and passes the integer identifier of the deleted table to the handler.

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

---

Occurs after a table has been deleted.

### Syntax

```vbscript
TableDeleted(TableId)
```

### Parameters

| Parameter | Description |
|---|---|
| TableId | Is the identifier of the deleted table. |

### Data Types

Integer.

### See Also

- [Formatting Text by using Number Formats](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/number-formats/llms-full.txt)
- [Tables](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/llms-full.txt)
- [Using Formulas in Table Cells](https://docs.textcontrol.com/tx-text-control-activex/document-editor/tables/formulas/llms-full.txt)
- [TableCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecreated-event/llms-full.txt)
- [Programming Category: Tables](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/tables/llms-full.txt)

---

## Nearby

- **Previous:** [TableDeleteColumn Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabledeletecolumn-method/llms-full.txt)
- **Next:** [TableDeleteLines Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabledeletelines-method/llms-full.txt)
