XL.Table.GetStyle
-----------------

Get the table style.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [15.2](newinversion152.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Table.GetStyle"; BookRef; SheetIndex; TableIndex ) 

**MBS**( **"XL.Table.GetStyle";** /\* Get the table style. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**; /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/   
**$TableIndex**) /\* The name of the table or the zero based index.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |
| TableIndex | The name of the table or the zero based index. | 0 |

### Result

Returns number or error.

### Description

Get the table style.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Table.GetName](XLTableGetName.md)
- [XL.Table.SetStyle](XLTableSetStyle.md)

Created 5th April 2025 , last changed 5th April 2025

  
[XL.Table.GetShowRowStripes](XLTableGetShowRowStripes.md) - [XL.Table.IsAutoFilter](XLTableIsAutoFilter.md)

[HTML Version](XLTableGetStyle.shtml)