# Unprotect Sheet

> `UiPath.Excel.Activities.Business.UnprotectSheetX`

`UiPath.Excel.Activities.Business.UnprotectSheetX`

Enables unprotecting a protected sheet in Excel in order to make changes to it. The activity can be used with Excel files selected for parent [Use Excel File](https://docs.uipath.com/activities/other/latest/productivity/excel-application-card) activities or with the Project Notebook.

## Configuring the activity

#### In the body of the activity

* **Sheet** - Select **Plus** on the right side of the field, then select the sheet you want to unprotect.
* **Password** - Select **Plus** on the right side of the field, and then, from the menu, select one of the available options:

  + Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file, and then select **Indicate in Excel** to indicate a cell from the file, or select an email in Outlook and then select a field in the email that contains the password.
  + **Ask when run** - Prompt for the password when the project is executed.
  + **Paste from clipboard** - Paste a value that you previously copied to the clipboard in the project.
  + **Use Saved Value** - Select a value that you previously saved for later use in the project.
  + **Text** - Enter the password using the Text Builder.
  + **Open in Advanced Editor** - Enter a VB expression.
* **Toggle password mode** - Alternatively, you can select the toggle password mode button ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-toggle_password_mode-46805422.png) and enter the password manually. Instead of entering passwords directly, we recommend storing passwords securely and retrieving them with an activity such as [Get Username/Password](https://docs.uipath.com/activities/other/latest/user-guide/get-username-password-x).

#### Properties panel

**Common**

* **DisplayName** - The name displayed for the activity in the Designer panel.

**Input**

* **Password** - The password required to unprotect the sheet.
* **Password (SecureString)** - The password required to unprotect the sheet, as a SecureString type.
* **Sheet** - The sheet to be unprotected.

**Misc**

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.
