# TableMergeCells Method

> Merges all selected table cells into one cell and returns False when the selection is not within a single table; see TableCanMergeCells.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablemergecells-method/#syntax)
- [Return Value](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablemergecells-method/#return-value)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablemergecells-method/#data-types)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablemergecells-method/#see-also)

---

## Nearby

- **Previous:** [TableInsertLines Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertlines-method/llms.txt)
- **Next:** [TableNestedLevel Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablenestedlevel-property/llms.txt)
