XL.Sheet.GetColHidden
---------------------

Returns whether column is hidden.

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

MBS( "XL.Sheet.GetColHidden"; BookRef; SheetIndex; Col ) 

**MBS**( **"XL.Sheet.GetColHidden";** /\* Returns whether column is hidden. \*/  
**$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 \*/   
**$Col**) /\* The column index to query.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 |
| Col | The column index to query. | 0 |

### Result

Return 1 if column is hidden, 0 if column is visible or error.

### Description

Returns whether column is hidden.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.GetColWidth](XLSheetGetColWidth.md)
- [XL.Sheet.GetHidden](XLSheetGetHidden.md)
- [XL.Sheet.GetRowHidden](XLSheetGetRowHidden.md)
- [XL.Sheet.SetColHidden](XLSheetSetColHidden.md)
- [XL.Sheet.SetHidden](XLSheetSetHidden.md)
- [XL.Sheet.SetRowHidden](XLSheetSetRowHidden.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[XL.Sheet.GetCellPicture](XLSheetGetCellPicture.md) - [XL.Sheet.GetColWidth](XLSheetGetColWidth.md)

[HTML Version](XLSheetGetColHidden.shtml)