Add ability to protect entire sheet vs. protecting range
See original GitHub issueDescription It would be great to be able to protect an entire sheet vs. just hiding a range. See request below for how to do it:
{
"addProtectedRange": {
"protectedRange": {
"range": {"sheetId": tab_id},
"warningOnly": False,
"editors": {"users": ["test@test.com"]},
}
}
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Protect a worksheet - Microsoft Support
To help improve your privacy in Excel, a password adds protection to worksheets to help prevent others from changing, moving, or deleting important...
Read more >Protect content in a spreadsheet - Google Support
Protect content in a sheet "" ; If you want to protect a range of content: Click Range. Click Select data range ;...
Read more >Protecting Sheets and Ranges in Google Sheets - YouTube
Learn how to protect entire worksheets and tabs or ranges of cells in Google Sheets with our free tutorial.To get the data source...
Read more >Preventing Others from Editing the Wrong Cells in a Google ...
To prevent ranges of your spreadsheet from being accidently modified, protect the ranges. You must give another user permission to edit the ...
Read more >Allow specific users to edit ranges in a protected spreadsheet
Excel offers you an ability to assign user-level permissions to different areas on a protected spreadsheet. You can specify which users can edit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you’re right a better documentation should be added, in fact before today I did know you could protect a full sheet and never thought about it but I will add it to the documentation.
thank you very much for helping.
@lavigne958 this does indeed work. I didn’t understand that from the documentation. Would be great to make that clearer.
I also added a convenience error handler for ranges that are already protected:
I saw that you are already working on a method to find protected ranges so I will switch to that one later.