# TableSplitCells Method

> Splits the selected table cells, which must have been merged before, and returns False when the selection is not within a single table.

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

---

This method splits all selected table cells. Only previously merged cells can be split. The [TableCanSplitCells](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecansplitcells-property/llms-full.txt) property can be used to determine if table cells can be split or not.

Introduced: 17.0.

### Syntax

```vbscript
TXTextControl.TableSplitCells
```

### Return Value

The method returns True, if the table cells could successfully be split. The method returns False, if an error has occurred, or if the current selection is not within a single table.

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

---

## Nearby

- **Previous:** [TableSplit Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablesplit-method/llms-full.txt)
- **Next:** [TabPos Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabpos-property/llms-full.txt)
