---
title: Sheet Visibility
sidebar_position: 10
---
File Format Support (click to show)
By default, all sheets in a workbook are "Visible". The standard "Hidden" state
is controlled through the context menu in the sheet tab bar. The "Very Hidden"
state is controlled through the "Visibility" property in the VBA editor.
| Formats   | Hidden | Very Hidden |
|:----------|:------:|:-----------:|
| XLSX/XLSM |   ✔    |      ✔      |
| XLSB      |   ✔    |      ✔      |
| XLML      |   ✔    |      ✔      |
| BIFF8 XLS |   ✔    |      ✔      |
| BIFF5 XLS |   ✔    |      ✔      |
    | Name | Value | Hidden | 
|---|
    {wb.SheetNames.map((n,i) => {
      const h = ((((wb||{}).Workbook||{}).Sheets||[])[i]||{}).Hidden||0;
      return ( 
        | {n} | {h} - {vis[h]} | {!h ? "No" : "Yes"} | 
 );
    })}
);
}
```
:::info pass
The live codeblock tests for visibility with:
```js
const h = ((((wb||{}).Workbook||{}).Sheets||[])[i]||{}).Hidden||0;
```
With modern JS, this can be written as
```js
const h = wb?.Workbook?.Sheets?.[i]?.Hidden||0;
```
:::