# TableAttrDialog Method

> Opens the built-in table attributes dialog for borders, colors, cell size, alignment, formulas and number formats, optionally on a given tab page.

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

---

This method invokes the built-in dialog box for setting table attributes and, after the user has closed the dialog box, specifies whether he has changed something.

### Syntax

```vbscript
TXTextControl.TableAttrDialog [ActiveTab]
```

### Parameters

| Parameter | Description |
|---|---|
| ActiveTab | Optional. Specifies the index of the tab, zero-based, that is displayed when the tabbed dialog box is opened. The following values are possible: |

#### ActiveTab

| Value | Description |
|---|---|
| 0 | The dialog box shows the tab for setting frame lines, color and distances. |
| 1 | The dialog box shows the tab for setting the vertical size and alignment. |
| 2 | The dialog box shows the tab for setting formulas and number formats. |

### Return Value

The method returns True when the user has changed one or more attributes. The method returns False when the formatting remains unchanged.

### Data Types

| Name | Data type |
|---|---|
| ActiveTab | Integer |
| Return value | Boolean |

### Remarks

The changes, made in the dialog box, apply to the currently selected text.

### 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)
- [Programming Category: Built-in Dialog Boxes](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/dialog-boxes/llms-full.txt)

---

## Nearby

- **Previous:** [TableAtInputPos Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableatinputpos-property/llms-full.txt)
- **Next:** [TableCanChangeAttr Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tablecanchangeattr-property/llms-full.txt)
