# TableCellSelect Method

> Selects a table cell, a complete row, a complete column or the whole table by table identifier and row and column numbers, where zero selects all.

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

---

This method can be used to select a table cell, a table row, a table column or a complete table.

Introduced: 19.0.

### Syntax

```vbscript
TXTextControl.TableCellSelect TableId, Row, Column
```

### Parameters

| Parameter | Description |
|---|---|
| TableId | Specifies the table's identifier. This must be the value returned from the [TableInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsert-method/llms-full.txt) or the [TableInsertDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertdialog-method/llms-full.txt) method. |
| Row | Specifies a row number, which identifies a certain cell in the table. The first row has the number one. This parameter set to zero means a complete column. |
| Column | Specifies a column number, which identifies a certain cell in the table. The first column has the number one. This parameter set to zero means a complete row. If both parameters, Row and Column, are set to zero, then the complete table is selected. |

### Return Value

The return value is True, if the specified table cell could be selected. Otherwise, it is False. False is returned, if the specified table id is invalid or the specified row or column number does not exist.

### Data Types

| Name | Data type |
|---|---|
| TableId | Integer |
| Row | Long |
| Column | Long |
| 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)
- [Programming Category: Tables](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/tables/llms-full.txt)

---

## Nearby

- **Previous:** [TableCellNumberFormat Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecellnumberformat-property/llms-full.txt)
- **Next:** [TableCellStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecellstart-property/llms-full.txt)
