# TableDeleteLines Method

> Deletes the selected table lines or the table line at the current input position and returns True when lines have been deleted, otherwise False.

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

---

This method deletes the currently selected table lines or the table line at the current input position.

### Syntax

```vbscript
TXTextControl.TableDeleteLines
```

### Return Value

The method returns True if table lines have been deleted. Otherwise it returns False.

### Data Types

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

### 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)
- [TableInsertLines Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertlines-method/llms-full.txt)
- [TableCanDeleteLines Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecandeletelines-property/llms-full.txt)
- [Programming Category: Tables](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/tables/llms-full.txt)

---

## Nearby

- **Previous:** [TableDeleted Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabledeleted-event/llms-full.txt)
- **Next:** [TableDescriptiveText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabledescriptivetext-property/llms-full.txt)
