I have a workbook where the sheets are protected, so users can only edit explicitly unlocked cells. That worksheet protection is stored in the worksheet xml files using the XML element:
This bug report is about the worksheet protection. The fact that the protection flag of individual cells is also lost, is already reported as a different bug #409 (since it concerns different settings and needs to be fixed differently).
I have a workbook where the sheets are protected, so users can only edit explicitly unlocked cells. That worksheet protection is stored in the worksheet xml files using the XML element:
Expected Behavior
Loading a file with worksheet protection with loadWorkbook and saving it again using saveWorkbook should preserve the protection of the worksheet.
Actual Behavior
Loading a file with worksheet protection with loadWorkbook and saving it again using saveWorkbook removes the protection of the worksheet.
Steps to Reproduce the Problem
2018-08-16_WorksheetProtection.xlsx
sessionInfo()
This bug report is about the worksheet protection. The fact that the protection flag of individual cells is also lost, is already reported as a different bug #409 (since it concerns different settings and needs to be fixed differently).