# TableFromSelection Method

> Returns the identifier of the selected table and copies the selected row and column numbers into two variables; zero for several rows, columns or tables.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [TableFormatChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableformatchanged-event/llms.txt)
- **Next:** [TableGetOuter Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablegetouter-method/llms.txt)
