# TableGetOuter Method

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

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

---

This method returns a table's outer table.

Introduced: 11.0.

### Syntax

```vbscript
TXTextControl.TableGetOuter 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 outer table or zero, if the given table is a top-level table. It is also zero, if the specified table 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:** [TableFromSelection Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablefromselection-method/llms-full.txt)
- **Next:** [TableGetOuterMost Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablegetoutermost-method/llms-full.txt)
