# TableGetOuterMost Method

> Returns the identifier of the outermost, top-level table of a nested table, or zero when the table is already top-level or the identifier is invalid.

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

---

This method returns a table's outermost table.

Introduced: 11.0.

### Syntax

```vbscript
TXTextControl.TableGetOuterMost TableId
```

### Parameters

| Parameter | Description |
|---|---|
| TableId | Specifies a table identifier. It is the same identifier set with the [TableInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsert-method/llms-full.txt) method. |

### Return Value

Specifies the table identifier of the given table's outermost table or zero, if the given table is already a top-level table. It is also zero, if the specified table identifier is invalid.

### Data Types

| Name | Data type |
|---|---|
| TableId | Integer |
| Return value | Integer |

### 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:** [TableGetOuter Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablegetouter-method/llms-full.txt)
- **Next:** [TableGridLines Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablegridlines-property/llms-full.txt)
