Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Excelize for Python is a Python port of Go [Excelize](https://github.com/xuri/ex
- PyPI: [pypi.org/project/excelize](https://pypi.org/project/excelize)
- Licenses: [BSD 3-Clause](https://opensource.org/licenses/BSD-3-Clause)
- Last version: [v0.0.4](https://github.com/xuri/excelize-py/releases/latest)
- Document update time: July 11, 2025
- Document update time: July 21, 2025

## Project mission

Expand Down
2 changes: 2 additions & 0 deletions en/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* [Set worksheet properties](workbook.md#SetSheetProps)
* [Get worksheet properties](workbook.md#GetSheetProps)
* [Set worksheet view properties](workbook.md#SetSheetView)
* [Get worksheet view properties](workbook.md#GetSheetView)
* [Set worksheet page layout](workbook.md#SetPageLayout)
* [Set worksheet page margins](workbook.md#SetPageMargins)
* [Set workbook properties](workbook.md#SetWorkbookProps)
Expand All @@ -38,6 +39,7 @@
* [Get application properties](workbook.md#GetAppProps)
* [Set document properties](workbook.md#SetDocProps)
* [Protect workbook](workbook.md#ProtectWorkbook)
* [Unprotect workbook](workbook.md#UnprotectWorkbook)
* [Worksheet](sheet.md)
* [Set column visibility](sheet.md#SetColVisible)
* [Set column width](sheet.md#SetColWidth)
Expand Down
23 changes: 23 additions & 0 deletions en/workbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,21 @@ For example, hide `Sheet1`:
f.set_sheet_visible("Sheet1", False)
```

## Get worksheet visible {#GetSheetVisible}

```python
def get_sheet_visible(sheet: str) -> bool
```

Get visible state of the sheet by given sheet name. For example, get the visible state of `Sheet1`:

```python
try:
visible = f.get_sheet_visible("Sheet1")
except RuntimeError as err:
print(err)
```

## Set worksheet properties {#SetSheetProps}

```python
Expand Down Expand Up @@ -827,3 +842,11 @@ class WorkbookProtectionOptions:
lock_structure: bool = False
lock_windows: bool = False
```

## Unprotect workbook {#UnprotectWorkbook}

```python
def unprotect_workbook(*password: str) -> None
```

Remove protection for workbook, specified the optional password parameter to remove workbook protection with password verification.