
How to Unlock a Sheet in Google Sheets
Do you need to unlock a protected sheet? This article will guide you through the process of removing sheet protection in Google Sheets.
Locking a sheet allows you to prevent others from editing your spreadsheet. Whether you want to grant editing permissions or make changes yourself, unlocking a sheet is essential. In this article, we will explore three methods to easily unlock your sheets: using the Data menu, the Sheets Manager add-on, and a custom app script.
Unlock a Sheet from the Data Menu
You can unlock a sheet directly from the Data menu using the following steps:
- Open your Google Sheets document.
- Click on the Data menu.
- Select Protect sheets and ranges.
- The Protected sheets and ranges dialogue box will appear on the right side of the spreadsheet.
- Choose the name of the sheet you want to unlock.
- Click on the Delete icon in the next window.
- Confirm the action by clicking on the Done button.
- Google Sheets will ask you to confirm the removal of the protected range. Click on Remove.
- Congratulations! You have successfully unlocked the sheet.
Unlock a Sheet with the Sheet Manager Add-on
To unlock multiple sheets efficiently, you can utilize the Sheet Manager add-on:
- Access the Extensions menu.
- Select Add-ons and click on Get add-ons.
- This will take you to the Google Workspace Market.
- Search for the Sheets Manager add-on by Ablebits and click on Install.
- Grant the necessary permissions if prompted.
- Close the Workspace Market and return to the Extensions menu.
- You will find the Sheets Manager add-on in the dropdown menu.
- Click on Sheets Manager and select Start.
- The Sheets Manager window will appear on the right side.
- Hold down the Ctrl key to select the sheets you wish to unlock.
- Click on the padlock icon in the menu and choose Unprotect.
- Alternatively, you can right-click on any of the selected sheets and select Unprotect.
- You have successfully unlocked your selected sheets.
Unlock a Sheet with an Apps Script
An alternative method is to create a custom unprotect function using an app script:
- Open the Apps Script editor from the Extensions menu ribbon.
- Click on Apps script.
- Use the following script to create a custom menu ribbon called Sheets:
function sheetsUnprotect() {
var ss = SpreadsheetApp.getActive();
var protections = ss.getProtections(SpreadsheetApp.ProtectionType.SHEET);
for (var i = 0; i < protections.length; i++) {
protections[i].remove();
}
}
function onOpen(e) {
SpreadsheetApp.getUi()
.createMenu("Sheets")
.addItem('Unprotect Sheets', 'sheetsUnprotect')
.addToUi();
}
- After reloading the spreadsheet, you will find the Sheets menu ribbon.
- Click on Unprotect Sheets in the submenu.
- This will unlock all the sheets in the spreadsheet.
Conclusion
Sheet protection is an essential feature to safeguard your data. However, there are situations where unlocking sheets becomes necessary. By following the methods mentioned in this article, you can easily remove sheet protection from your Google Sheets.
How do you usually unlock your sheet tabs? Do you have any other tips or tricks? Let us know in the comments below!
This article is brought to you by Mr Reviews, your trusted source for the latest tips and tutorials.