---
title: "check_sheet_protection"
---

[< Back to Reference](../reference.qmd) | [View source](https://codeberg.org/usrbinr/tidychain/src/branch/main/R/read_calc_chain.R#L494)

# `check_sheet_protection()`

Check Sheet Protection Status

## Usage

```r
check_sheet_protection(xlsx)
```

## Arguments

| Argument | Description |
|----------|-------------|
| `xlsx` | An xlsx_workbook object from `parse_xlsx()`, or a file path. |

## Value

A tibble with columns: sheet_name, is_protected, protection_type

## Description

Reports which sheets in a workbook are protected.

## Examples

```r
## Not run: 
xlsx <- parse_xlsx("workbook.xlsx")
check_sheet_protection(xlsx)

## End(Not run)
```

